mirror of
https://github.com/curl/curl.git
synced 2026-08-26 01:43:37 +03:00
GHA: document permissions as required by zizmor 1.13.0
Ref: https://github.com/zizmorcore/zizmor/pull/1131 Ref: https://docs.zizmor.sh/audits/#undocumented-permissions Bug: https://github.com/curl/curl/pull/18539#issuecomment-3288151910 Closes #18541
This commit is contained in:
parent
cc50f05370
commit
83c457f9f3
4 changed files with 7 additions and 8 deletions
5
.github/workflows/hacktoberfest-accepted.yml
vendored
5
.github/workflows/hacktoberfest-accepted.yml
vendored
|
|
@ -23,9 +23,8 @@ jobs:
|
|||
name: 'Add hacktoberfest-accepted label'
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
# requires issues AND pull-requests write permissions to edit labels on PRs!
|
||||
issues: write
|
||||
pull-requests: write
|
||||
issues: write # To edit labels on PRs
|
||||
pull-requests: write # To edit labels on PRs
|
||||
steps:
|
||||
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
|
||||
with:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue