docs(readme): add permissions in push example
A reminder about the required privilege to push would benefit the example of pushing with the built-in token IMHO.pull/1773/head
parent
b80ff79f17
commit
fad8fd9f21
|
@ -272,6 +272,9 @@ jobs:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
on: push
|
on: push
|
||||||
|
# `contents:write` permission must be granted to the built-in token, see https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jobs
|
||||||
|
permissions:
|
||||||
|
contents: write #Require
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
Loading…
Reference in New Issue