gorm/.github/workflows
Naveen 5c9ef9a843
Set permissions for GitHub actions (#5237)
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: naveensrinivasan <172697+naveensrinivasan@users.noreply.github.com>
2022-04-10 09:38:43 +08:00
..
invalid_question.yml Set permissions for GitHub actions (#5237) 2022-04-10 09:38:43 +08:00
labeler.yml chore(deps): bump actions/checkout from 2 to 3 (#5133) 2022-03-12 22:28:18 +08:00
missing_playground.yml Set permissions for GitHub actions (#5237) 2022-04-10 09:38:43 +08:00
reviewdog.yml chore(deps): bump actions/checkout from 2 to 3 (#5133) 2022-03-12 22:28:18 +08:00
stale.yml Set permissions for GitHub actions (#5237) 2022-04-10 09:38:43 +08:00
tests.yml Set permissions for GitHub actions (#5237) 2022-04-10 09:38:43 +08:00