nathannaveen
|
d848a54838
|
chore: Set permissions for GitHub actions
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-31 21:40:42 -07:00 |
|
Jens Petersen
|
37809469d0
|
GH check action: try restricting to the master branch
|
2021-06-17 23:35:33 +08:00 |
|
Jens Petersen
|
b9f1c635c1
|
GH workflow: we don't actually use haskell/actions just our own stack
|
2021-06-17 14:35:35 +08:00 |
|
Jens Petersen
|
2dcb7d8e8f
|
.github: drop the hardcoding of cabal-install
|
2021-04-15 11:27:29 +08:00 |
|
Jens Petersen
|
98e53dc17e
|
github workflow: also specify cabal-install default 3.4 to avoid pulling 3.2
|
2021-02-21 02:45:36 +08:00 |
|
Jens Petersen
|
a4e107cbe1
|
github workflow: specify ghc 8.10 - ubuntu 8.10.3 currently
|
2021-02-21 02:37:53 +08:00 |
|
Jens Petersen
|
fcc5ea235f
|
github workflow: specify ghc version for completeness
|
2021-02-21 02:25:47 +08:00 |
|
Jens Petersen
|
e2ac7b6308
|
add github workflow check action
|
2021-02-17 11:29:21 +08:00 |
|