Commit graph

80 commits

Author SHA1 Message Date
Zhaofeng Li
224c33d638 .github: Verify that extra-conf is honored 2023-02-02 11:59:49 -07:00
Zhaofeng Li
8589344a03 .github: Verify trusted-users is set in nix.conf 2023-02-02 11:59:16 -07:00
Ana Hobden
e436905b97
Merge pull request #7 from DeterminateSystems/use-input-token-instead-of-secret
Use github token from context not secret
2023-02-02 07:43:07 -08:00
Ana Hobden
cfd70f567b Use github token from context not secret 2023-02-01 10:51:24 -08:00
Ana Hobden
8ca5194c76 More conflicts checked 2023-02-01 10:20:19 -08:00
Zhaofeng Li
b7b7f9899e Make the runner user trusted by default
Usually we want the runner user to be able to configure
binary caches.
2023-01-31 19:57:37 -07:00
Ana Hobden
d5491adf01
Merge pull request #6 from EricCrosson/3-add-default-value-for-the-the-github-token-input
Add default value for the the github-token input
2023-01-31 08:19:07 -08:00
Ana Hobden
3764baabb9 Add errors if options conflict 2023-01-31 07:44:42 -08:00
Eric Crosson
5866c409ef Add default value for the the github-token input
Since you are likely to be rate-limited if you use this action
without a GitHub API token, default the action's `github-token` input
to the `token` from the `github` context[^1].

Closes #3

[^1]: https://docs.github.com/en/actions/learn-github-actions/contexts#github-context
2023-01-30 19:07:32 -06:00
Ana Hobden
6d99d4ce08 init/start-daemon are linux only 2023-01-24 10:51:02 -08:00
Ana Hobden
ed4bbe1cd4 Wording around how to use init and start-daemon 2023-01-24 09:29:24 -08:00
Ana Hobden
7f874ef194 Use some arguments as input templated 2023-01-24 08:51:23 -08:00
Ana Hobden
1cf64fd7a6 Add start-daemon and init args 2023-01-24 08:17:18 -08:00
Ana Hobden
841d37ff46
Merge pull request #1 from DeterminateSystems/hoverbear/ds-619-better-handle-gha-runners-with
Better handle gha runners with persistence
2023-01-17 09:48:32 -08:00
Ana Hobden
3caf3399fc
Merge pull request #2 from DeterminateSystems/update-readme-uses-statement
Update README example `uses` statement
2023-01-17 08:14:50 -08:00
Luc Perkins
ce724020f6
Add @main to uses statement for nix installer GHA 2023-01-17 12:01:54 -03:00
Ana Hobden
78b28a0bb7 Clean up wording 2023-01-16 09:35:30 -08:00
Ana Hobden
3c9332283c Ensure we still set GITHUB_PATH
Further improve logic
2023-01-16 09:19:40 -08:00
Ana Hobden
2ec668c456 More thorough testing 2023-01-13 12:18:14 -08:00
Ana Hobden
f0508f0de8 Add reinstall option 2023-01-13 12:09:36 -08:00
Ana Hobden
b2d55a56d7 Link back to nix-installer repo 2023-01-13 10:53:14 -08:00
Ana Hobden
b676eb620d Readme should not refer to main revision for action 2023-01-13 10:47:13 -08:00
Ana Hobden
c8e8c323ec Correct readme 2023-01-13 10:35:23 -08:00
Ana Hobden
fa79b38aa5 Add LICENSE 2023-01-13 10:30:02 -08:00
Ana Hobden
0065bcf2b8 Add README.md 2023-01-13 10:23:55 -08:00
Ana Hobden
95c215ce17 Fix syntax 2023-01-13 10:16:26 -08:00
Ana Hobden
1ea0b9a637 Boil down CI workflow 2023-01-13 10:13:23 -08:00
Ana Hobden
2e10ab0fc9 Remove old dependencies 2023-01-13 10:09:35 -08:00
Ana Hobden
0055602fae Add ci test 2023-01-13 10:08:19 -08:00
Ana Hobden
a0e9a28f9b init 2023-01-13 10:04:16 -08:00