free-programming-books/.github
Naveen bd1434fcb2
Set permissions for GitHub actions (#6820)
- 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/)

 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.

Signed-off-by: naveensrinivasan <172697+naveensrinivasan@users.noreply.github.com>

Signed-off-by: naveensrinivasan <172697+naveensrinivasan@users.noreply.github.com>
2022-08-11 10:05:58 +02:00
..
workflows Set permissions for GitHub actions (#6820) 2022-08-11 10:05:58 +02:00
PULL_REQUEST_TEMPLATE.md PULL_REQUEST_TEMPLATE: add clause for informative pr names (#6974) 2022-07-29 12:49:11 +02:00
dependabot.yml ci(deps): configure dependabot for github-actions (#5521) 2022-03-07 10:10:49 -05:00