1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00
community.general/.github
nathannaveen dc4cdb1a58
chore: Set permissions for GitHub actions (#4641)
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-05-08 08:57:53 +02:00
..
ISSUE_TEMPLATE Temporarily rename 'ansible-core version' back to 'Ansible version' to make bot happy. 2021-09-29 07:00:43 +02:00
workflows chore: Set permissions for GitHub actions (#4641) 2022-05-08 08:57:53 +02:00
BOTMETA.yml Rename single-filter plugins so that the filename equals the filter name. (#4625) 2022-05-05 08:03:49 +02:00
dependabot.yml ci: fix dependabot (#4635) 2022-05-06 17:31:42 +02:00
patchback.yml Fix config key/value pairs. 2020-09-28 20:53:57 +02:00
settings.yml Update settings.yml 2020-06-16 15:32:32 +01:00