]> git.ipfire.org Git - thirdparty/curl.git/commit
GHA: clarify workflows permissions, set least possible privilege
authorDiogo Teles Sant'Anna <diogoteles@google.com>
Wed, 16 Nov 2022 14:55:33 +0000 (11:55 -0300)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 2 Dec 2022 22:13:54 +0000 (23:13 +0100)
commita2f5a4ca6f2cd1b6d10a46e8710d85ca2bc2dba9
tree3248d4b6eb6b2a85d28a8057c88fc5add7490f6d
parent8fc24233388d91193afa8d438a91a058673411c8
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
14 files changed:
.github/workflows/appveyor-status.yml
.github/workflows/codeql-analysis.yml
.github/workflows/fuzz.yml
.github/workflows/hacktoberfest-accepted.yml
.github/workflows/linkcheck.yml
.github/workflows/linux.yml
.github/workflows/macos.yml
.github/workflows/ngtcp2-gnutls.yml
.github/workflows/ngtcp2-wolfssl.yml
.github/workflows/proselint.yml
.github/workflows/reuse.yml
.github/workflows/spellcheck.yml
.github/workflows/torture.yml
.github/workflows/wolfssl.yml