1
0
mirror of https://github.com/goreleaser/goreleaser.git synced 2025-01-08 03:31:59 +02:00
goreleaser/.github/workflows
Naveen 38ea40c442
fix: set permissions for GitHub actions (#3036)
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-13 14:42:11 -03:00
..
build.yml chore(deps): bump anchore/sbom-action from 0.9.0 to 0.10.0 (#3026) 2022-04-08 12:18:20 -03:00
codeql.yml chore(deps): bump github/codeql-action from 2.1.7 to 2.1.8 (#3029) 2022-04-11 08:39:43 -03:00
docs.yml fix: set permissions for GitHub actions (#3036) 2022-04-13 14:42:11 -03:00
generate.yml fix: set permissions for GitHub actions (#3036) 2022-04-13 14:42:11 -03:00
lint.yml chore(deps): bump actions/setup-go from 2.2.0 to 3 (#2987) 2022-03-17 08:47:57 -03:00
lock.yml fix(ci): pinned workflow by hash (#2977) 2022-03-17 01:29:18 +00:00
milestone.yml fix(ci): pinned workflow by hash (#2977) 2022-03-17 01:29:18 +00:00
misspell.yml fix(ci): pinned workflow by hash (#2977) 2022-03-17 01:29:18 +00:00