free-programming-books/.github/workflows
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
..
check-urls.yml build: changed name of 'main.yml' workflow to 'checkurls.yml' (#6984) 2022-08-07 22:20:34 +02:00
fpb-lint.yml Set permissions for GitHub actions (#6820) 2022-08-11 10:05:58 +02:00