ci/update-flake: use app token for checkout (#1987)
Reviewed-by: Matt Sturgeon <matt@sturgeon.me.uk> Approved-by: Matt Sturgeon <matt@sturgeon.me.uk> Approved-by: NAHO <90870942+trueNAHO@users.noreply.github.com> Approved-by: Daniel Thwaites <danth@danth.me>
This commit is contained in:
parent
948720e297
commit
f1385f026d
1 changed files with 7 additions and 6 deletions
13
.github/workflows/update-flake.yml
vendored
13
.github/workflows/update-flake.yml
vendored
|
|
@ -14,12 +14,6 @@ jobs:
|
|||
matrix:
|
||||
branch: [master, release-25.05]
|
||||
steps:
|
||||
- uses: actions/checkout@v5
|
||||
with:
|
||||
ref: ${{ matrix.branch }}
|
||||
|
||||
- uses: cachix/install-nix-action@v31
|
||||
|
||||
- id: generate-token
|
||||
uses: actions/create-github-app-token@v2
|
||||
with:
|
||||
|
|
@ -28,6 +22,13 @@ jobs:
|
|||
permission-contents: write
|
||||
permission-pull-requests: write
|
||||
|
||||
- uses: actions/checkout@v5
|
||||
with:
|
||||
ref: ${{ matrix.branch }}
|
||||
token: ${{ steps.generate-token.outputs.token }}
|
||||
|
||||
- uses: cachix/install-nix-action@v31
|
||||
|
||||
- id: user-info
|
||||
env:
|
||||
GH_TOKEN: ${{ steps.generate-token.outputs.token }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue