cookiecutter-django/.github/workflows
Naveen e0c04fa0d3
Set permissions for GitHub actions (#3698)
* 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: naveen <172697+naveensrinivasan@users.noreply.github.com>

* Leave comment close to code

Co-authored-by: Bruno Alla <browniebroke@users.noreply.github.com>
2022-05-07 13:49:24 +01:00
..
ci.yml Unify compressor, gulp and custom bootstrap options (#3535) 2022-03-20 15:00:40 +00:00
django-issue-checker.yml Bump actions/checkout from 2 to 3 (#3619) 2022-03-02 09:17:47 +00:00
issue-manager.yml Update Issue Manager triggers 2021-12-10 19:30:41 +00:00
pre-commit-autoupdate.yml Set permissions for GitHub actions (#3698) 2022-05-07 13:49:24 +01:00
update-changelog.yml Bump actions/checkout from 2 to 3 (#3619) 2022-03-02 09:17:47 +00:00
update-contributors.yml Set permissions for GitHub actions (#3698) 2022-05-07 13:49:24 +01:00