mirror of
https://github.com/dtolnay/install.git
synced 2024-11-25 17:39:33 +01:00
Enable 'contents: write' permission for all build jobs
Otherwise: The workflow is not valid. .github/workflows/cargo-expand.yml (Line: 9, Col: 3): Error calling workflow 'dtolnay/install/.github/workflows/build.yml@master'. The nested job 'build' is requesting 'contents: write', but is only allowed 'contents: read'.
This commit is contained in:
parent
2cff523187
commit
2092cdac92
11 changed files with 22 additions and 0 deletions
2
.github/workflows/cargo-bloat.yml
vendored
2
.github/workflows/cargo-bloat.yml
vendored
|
@ -10,5 +10,7 @@ jobs:
|
|||
uses: dtolnay/install/.github/workflows/build.yml@master
|
||||
with:
|
||||
crate: cargo-bloat
|
||||
permissions:
|
||||
contents: write
|
||||
secrets:
|
||||
private_key: ${{secrets.private_key}}
|
||||
|
|
2
.github/workflows/cargo-expand.yml
vendored
2
.github/workflows/cargo-expand.yml
vendored
|
@ -10,5 +10,7 @@ jobs:
|
|||
uses: dtolnay/install/.github/workflows/build.yml@master
|
||||
with:
|
||||
crate: cargo-expand
|
||||
permissions:
|
||||
contents: write
|
||||
secrets:
|
||||
private_key: ${{secrets.private_key}}
|
||||
|
|
2
.github/workflows/cargo-fuzz.yml
vendored
2
.github/workflows/cargo-fuzz.yml
vendored
|
@ -10,5 +10,7 @@ jobs:
|
|||
uses: dtolnay/install/.github/workflows/build.yml@master
|
||||
with:
|
||||
crate: cargo-fuzz
|
||||
permissions:
|
||||
contents: write
|
||||
secrets:
|
||||
private_key: ${{secrets.private_key}}
|
||||
|
|
2
.github/workflows/cargo-llvm-lines.yml
vendored
2
.github/workflows/cargo-llvm-lines.yml
vendored
|
@ -10,5 +10,7 @@ jobs:
|
|||
uses: dtolnay/install/.github/workflows/build.yml@master
|
||||
with:
|
||||
crate: cargo-llvm-lines
|
||||
permissions:
|
||||
contents: write
|
||||
secrets:
|
||||
private_key: ${{secrets.private_key}}
|
||||
|
|
2
.github/workflows/cargo-outdated.yml
vendored
2
.github/workflows/cargo-outdated.yml
vendored
|
@ -10,5 +10,7 @@ jobs:
|
|||
uses: dtolnay/install/.github/workflows/build.yml@master
|
||||
with:
|
||||
crate: cargo-outdated
|
||||
permissions:
|
||||
contents: write
|
||||
secrets:
|
||||
private_key: ${{secrets.private_key}}
|
||||
|
|
2
.github/workflows/cargo-rm.yml
vendored
2
.github/workflows/cargo-rm.yml
vendored
|
@ -10,5 +10,7 @@ jobs:
|
|||
uses: dtolnay/install/.github/workflows/build.yml@master
|
||||
with:
|
||||
crate: cargo-rm
|
||||
permissions:
|
||||
contents: write
|
||||
secrets:
|
||||
private_key: ${{secrets.private_key}}
|
||||
|
|
2
.github/workflows/cargo-tally.yml
vendored
2
.github/workflows/cargo-tally.yml
vendored
|
@ -10,5 +10,7 @@ jobs:
|
|||
uses: dtolnay/install/.github/workflows/build.yml@master
|
||||
with:
|
||||
crate: cargo-tally
|
||||
permissions:
|
||||
contents: write
|
||||
secrets:
|
||||
private_key: ${{secrets.private_key}}
|
||||
|
|
2
.github/workflows/cxxbridge-cmd.yml
vendored
2
.github/workflows/cxxbridge-cmd.yml
vendored
|
@ -11,5 +11,7 @@ jobs:
|
|||
with:
|
||||
crate: cxxbridge-cmd
|
||||
bin: cxxbridge
|
||||
permissions:
|
||||
contents: write
|
||||
secrets:
|
||||
private_key: ${{secrets.private_key}}
|
||||
|
|
2
.github/workflows/faketty.yml
vendored
2
.github/workflows/faketty.yml
vendored
|
@ -10,5 +10,7 @@ jobs:
|
|||
uses: dtolnay/install/.github/workflows/build.yml@master
|
||||
with:
|
||||
crate: faketty
|
||||
permissions:
|
||||
contents: write
|
||||
secrets:
|
||||
private_key: ${{secrets.private_key}}
|
||||
|
|
2
.github/workflows/sha1dir.yml
vendored
2
.github/workflows/sha1dir.yml
vendored
|
@ -10,5 +10,7 @@ jobs:
|
|||
uses: dtolnay/install/.github/workflows/build.yml@master
|
||||
with:
|
||||
crate: sha1dir
|
||||
permissions:
|
||||
contents: write
|
||||
secrets:
|
||||
private_key: ${{secrets.private_key}}
|
||||
|
|
2
.github/workflows/star-history.yml
vendored
2
.github/workflows/star-history.yml
vendored
|
@ -10,5 +10,7 @@ jobs:
|
|||
uses: dtolnay/install/.github/workflows/build.yml@master
|
||||
with:
|
||||
crate: star-history
|
||||
permissions:
|
||||
contents: write
|
||||
secrets:
|
||||
private_key: ${{secrets.private_key}}
|
||||
|
|
Loading…
Reference in a new issue