Merge pull request #7 from DeterminateSystems/use-input-token-instead-of-secret

Use github token from context not secret
This commit is contained in:
Ana Hobden 2023-02-02 07:43:07 -08:00 committed by GitHub
commit e436905b97
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 0 additions and 10 deletions

View file

@ -17,7 +17,6 @@ jobs:
logger: pretty
log-directives: nix_installer=trace
backtrace: full
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: echo $PATH
run: echo $PATH
- name: Test `nix` with `$GITHUB_PATH`
@ -42,7 +41,6 @@ jobs:
logger: pretty
log-directives: nix_installer=trace
backtrace: full
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: Test `nix` with `$GITHUB_PATH`
if: success() || failure()
run: |
@ -57,7 +55,6 @@ jobs:
logger: pretty
log-directives: nix_installer=trace
backtrace: full
github-token: ${{ secrets.GITHUB_TOKEN }}
reinstall: true
- name: Test `nix` with `$GITHUB_PATH`
if: success() || failure()
@ -79,7 +76,6 @@ jobs:
logger: pretty
log-directives: nix_installer=trace
backtrace: full
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: echo $PATH
run: echo $PATH
- name: Test `nix` with `$GITHUB_PATH`
@ -108,7 +104,6 @@ jobs:
logger: pretty
log-directives: nix_installer=trace
backtrace: full
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: Test `nix` with `$GITHUB_PATH`
if: success() || failure()
run: |
@ -123,7 +118,6 @@ jobs:
logger: pretty
log-directives: nix_installer=trace
backtrace: full
github-token: ${{ secrets.GITHUB_TOKEN }}
reinstall: true
- name: Test `nix` with `$GITHUB_PATH`
if: success() || failure()

View file

@ -16,10 +16,6 @@ jobs:
- uses: actions/checkout@v3
- name: Install Nix
uses: DeterminateSystems/nix-installer-action@main
with:
# Allow the installed Nix to make authenticated Github requests.
# If you skip this, you will likely get rate limited.
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: Run `nix build`
run: nix build .
```