3
0
Fork 0
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:
David Tolnay 2022-06-20 03:16:50 -07:00
parent 2cff523187
commit 2092cdac92
No known key found for this signature in database
GPG key ID: F9BA143B95FF6D82
11 changed files with 22 additions and 0 deletions

View file

@ -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}}

View file

@ -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}}

View file

@ -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}}

View file

@ -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}}

View file

@ -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}}

View file

@ -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}}

View file

@ -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}}

View file

@ -11,5 +11,7 @@ jobs:
with:
crate: cxxbridge-cmd
bin: cxxbridge
permissions:
contents: write
secrets:
private_key: ${{secrets.private_key}}

View file

@ -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}}

View file

@ -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}}

View file

@ -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}}