3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/.github
nathannaveen 5deff9583c chore: Set permissions for GitHub actions
Restrict the GitHub token permissions only to the required ones; this way, even if the attackers will succeed in compromising your workflow, they won’t be able to do much.

- Included permissions for the action. https://github.com/ossf/scorecard/blob/main/docs/checks.md#token-permissions

https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#permissions

https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jobs

[Keeping your GitHub Actions and workflows secure Part 1: Preventing pwn requests](https://securitylab.github.com/research/github-actions-preventing-pwn-requests/)

Signed-off-by: nathannaveen <42319948+nathannaveen@users.noreply.github.com>
2022-07-04 01:09:50 +00:00
..
ISSUE_TEMPLATE ISSUE_TEMPLATE/build_failure.md: create 2022-05-09 15:43:53 +03:00
workflows chore: Set permissions for GitHub actions 2022-07-04 01:09:50 +00:00
CODEOWNERS CODEOWNERS: remove expipiplus1 from haskell 2022-05-25 09:12:42 +08:00
ISSUE_TEMPLATE.md
labeler.yml labeler: don't use path-based labeling for BSD 2022-03-17 16:41:35 -07:00
PULL_REQUEST_TEMPLATE.md .github/PULL_REQUEST_TEMPLATE.md: 21.11 -> 22.05 2022-05-31 19:14:32 +08:00
STALE-BOT.md .github/stale bot: stop commenting 2022-04-30 08:30:08 -07:00
stale.yml .github/stale bot: stop commenting 2022-04-30 08:30:08 -07:00