[ci] Add permission contents:write for build job
This commit is contained in:
parent
4966e99082
commit
81a8ba0c87
5
.github/workflows/build.yml
vendored
5
.github/workflows/build.yml
vendored
@ -20,6 +20,11 @@ permissions:
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ${{ matrix.os }}
|
||||
permissions:
|
||||
# read to fetch code (actions/checkout)
|
||||
# write to push code to gh-pages, create releases
|
||||
# note: forked repositories will have maximum read access
|
||||
contents: write
|
||||
continue-on-error: false
|
||||
strategy:
|
||||
matrix:
|
||||
|
Loading…
x
Reference in New Issue
Block a user