mirror of
https://github.com/curl/curl.git
synced 2026-07-16 00:47:17 +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
4
.github/workflows/codeql.yml
vendored
4
.github/workflows/codeql.yml
vendored
|
|
@ -45,7 +45,7 @@ jobs:
|
|||
name: 'GHA and Python'
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
security-events: write
|
||||
security-events: write # To create/update security events
|
||||
steps:
|
||||
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
|
||||
with:
|
||||
|
|
@ -64,7 +64,7 @@ jobs:
|
|||
name: 'C'
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
security-events: write
|
||||
security-events: write # To create/update security events
|
||||
steps:
|
||||
- name: 'install prereqs'
|
||||
timeout-minutes: 5
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue