mirror of
https://github.com/dtolnay/install.git
synced 2024-11-22 16:29:32 +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
|
uses: dtolnay/install/.github/workflows/build.yml@master
|
||||||
with:
|
with:
|
||||||
crate: cargo-bloat
|
crate: cargo-bloat
|
||||||
|
permissions:
|
||||||
|
contents: write
|
||||||
secrets:
|
secrets:
|
||||||
private_key: ${{secrets.private_key}}
|
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
|
uses: dtolnay/install/.github/workflows/build.yml@master
|
||||||
with:
|
with:
|
||||||
crate: cargo-expand
|
crate: cargo-expand
|
||||||
|
permissions:
|
||||||
|
contents: write
|
||||||
secrets:
|
secrets:
|
||||||
private_key: ${{secrets.private_key}}
|
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
|
uses: dtolnay/install/.github/workflows/build.yml@master
|
||||||
with:
|
with:
|
||||||
crate: cargo-fuzz
|
crate: cargo-fuzz
|
||||||
|
permissions:
|
||||||
|
contents: write
|
||||||
secrets:
|
secrets:
|
||||||
private_key: ${{secrets.private_key}}
|
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
|
uses: dtolnay/install/.github/workflows/build.yml@master
|
||||||
with:
|
with:
|
||||||
crate: cargo-llvm-lines
|
crate: cargo-llvm-lines
|
||||||
|
permissions:
|
||||||
|
contents: write
|
||||||
secrets:
|
secrets:
|
||||||
private_key: ${{secrets.private_key}}
|
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
|
uses: dtolnay/install/.github/workflows/build.yml@master
|
||||||
with:
|
with:
|
||||||
crate: cargo-outdated
|
crate: cargo-outdated
|
||||||
|
permissions:
|
||||||
|
contents: write
|
||||||
secrets:
|
secrets:
|
||||||
private_key: ${{secrets.private_key}}
|
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
|
uses: dtolnay/install/.github/workflows/build.yml@master
|
||||||
with:
|
with:
|
||||||
crate: cargo-rm
|
crate: cargo-rm
|
||||||
|
permissions:
|
||||||
|
contents: write
|
||||||
secrets:
|
secrets:
|
||||||
private_key: ${{secrets.private_key}}
|
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
|
uses: dtolnay/install/.github/workflows/build.yml@master
|
||||||
with:
|
with:
|
||||||
crate: cargo-tally
|
crate: cargo-tally
|
||||||
|
permissions:
|
||||||
|
contents: write
|
||||||
secrets:
|
secrets:
|
||||||
private_key: ${{secrets.private_key}}
|
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:
|
with:
|
||||||
crate: cxxbridge-cmd
|
crate: cxxbridge-cmd
|
||||||
bin: cxxbridge
|
bin: cxxbridge
|
||||||
|
permissions:
|
||||||
|
contents: write
|
||||||
secrets:
|
secrets:
|
||||||
private_key: ${{secrets.private_key}}
|
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
|
uses: dtolnay/install/.github/workflows/build.yml@master
|
||||||
with:
|
with:
|
||||||
crate: faketty
|
crate: faketty
|
||||||
|
permissions:
|
||||||
|
contents: write
|
||||||
secrets:
|
secrets:
|
||||||
private_key: ${{secrets.private_key}}
|
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
|
uses: dtolnay/install/.github/workflows/build.yml@master
|
||||||
with:
|
with:
|
||||||
crate: sha1dir
|
crate: sha1dir
|
||||||
|
permissions:
|
||||||
|
contents: write
|
||||||
secrets:
|
secrets:
|
||||||
private_key: ${{secrets.private_key}}
|
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
|
uses: dtolnay/install/.github/workflows/build.yml@master
|
||||||
with:
|
with:
|
||||||
crate: star-history
|
crate: star-history
|
||||||
|
permissions:
|
||||||
|
contents: write
|
||||||
secrets:
|
secrets:
|
||||||
private_key: ${{secrets.private_key}}
|
private_key: ${{secrets.private_key}}
|
||||||
|
|
Loading…
Reference in a new issue