Skip to content
Snippets Groups Projects
Unverified Commit 378a9110 authored by bors[bot]'s avatar bors[bot] Committed by GitHub
Browse files

Merge #426

426: chore: Set permissions for GitHub actions r=stlankes a=naveensrinivasan

 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: default avatarnaveensrinivasan <172697+naveensrinivasan@users.noreply.github.com>


Co-authored-by: default avatarnaveensrinivasan <172697+naveensrinivasan@users.noreply.github.com>
parents 88177aaa e9f58538
Branches
Tags
No related merge requests found
Pipeline #694236 passed
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment