CI: fix permissions
This commit is contained in:
parent
8c7b188ae5
commit
13e64824f4
1 changed files with 4 additions and 0 deletions
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
|
|
@ -21,6 +21,8 @@ on:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
flake-update:
|
flake-update:
|
||||||
|
permissions:
|
||||||
|
contents: write
|
||||||
uses: ./.github/workflows/flake-update.yml
|
uses: ./.github/workflows/flake-update.yml
|
||||||
check:
|
check:
|
||||||
uses: ./.github/workflows/check.yml
|
uses: ./.github/workflows/check.yml
|
||||||
|
|
@ -33,6 +35,8 @@ jobs:
|
||||||
ref: flake-update
|
ref: flake-update
|
||||||
needs: [flake-update]
|
needs: [flake-update]
|
||||||
push:
|
push:
|
||||||
|
permissions:
|
||||||
|
contents: write
|
||||||
uses: ./.github/workflows/push-flake-update.yml
|
uses: ./.github/workflows/push-flake-update.yml
|
||||||
needs: [check, cachix]
|
needs: [check, cachix]
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue