3
0
Fork 0
mirror of https://github.com/dtolnay/install.git synced 2024-11-29 11:29:32 +01:00
cargo-install/.github/workflows/cargo-llvm-lines.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
288 B
YAML

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