diff options
author | neilnaveen <42328488+neilnaveen@users.noreply.github.com> | 2022-05-12 22:04:04 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-12 22:04:04 +0300 |
commit | 6bb83ec7c31ccf7cdc08f87b2f802e9b7ac3a78c (patch) | |
tree | 29b46f18cb2e742b7ee439d9bea85a6573d3df8d /src | |
parent | 00dc26d40aec882196a3cf56bd065d6000532e1f (diff) |
Set permissions for GitHub actions (#1965)
- 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: neilnaveen <42328488+neilnaveen@users.noreply.github.com>
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions