3
0
Fork 0
mirror of https://github.com/dtolnay/install.git synced 2024-11-22 08:29:30 +01:00
cargo-install/.github/workflows/cargo-tally.yml
David Tolnay 2092cdac92
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'.
2022-06-20 03:16:52 -07:00

16 lines
273 B
YAML

name: cargo-tally
on:
push:
branches:
- cargo-tally
jobs:
build:
uses: dtolnay/install/.github/workflows/build.yml@master
with:
crate: cargo-tally
permissions:
contents: write
secrets:
private_key: ${{secrets.private_key}}