mirror of
https://github.com/curl/curl.git
synced 2026-04-14 22:11:45 +03:00
GHA: clarify workflows permissions, set least possible privilege
Set top-level permissions to None on all workflows, setting per-job permissions. This avoids that new jobs inherit unwanted permissions. Discussion: https://curl.se/mail/lib-2022-11/0028.html Signed-off-by: Diogo Teles Sant'Anna <diogoteles@google.com> Closes #9928
This commit is contained in:
parent
8fc2423338
commit
a2f5a4ca6f
14 changed files with 33 additions and 9 deletions
2
.github/workflows/torture.yml
vendored
2
.github/workflows/torture.yml
vendored
|
|
@ -18,6 +18,8 @@ concurrency:
|
|||
group: torture-${{ github.event.pull_request.number || github.sha }}
|
||||
cancel-in-progress: true
|
||||
|
||||
permissions: {}
|
||||
|
||||
jobs:
|
||||
autotools:
|
||||
name: ${{ matrix.build.name }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue