Commit graph

5 commits

Author SHA1 Message Date
Naveen
fd8af163ba
ci: Set permissions for GitHub actions (#17102)
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: naveen <172697+naveensrinivasan@users.noreply.github.com>
2022-06-08 11:55:16 +05:30
Revant Nandgaonkar
9b68a9e5b4 ci: change GITHUB_PAT to CI_PAT 2021-11-03 13:51:46 +05:30
Revant Nandgaonkar
30992116ee chore: migrate docker to github actions 2021-11-02 12:12:49 +05:30
Gavin D'souza
7c6cd34c51 ci: Update names for GHA workflows and jobs 2020-11-04 12:27:14 +05:30
Revant Nandgaonkar
9d85de076d ci: trigger docker build on release 2020-06-19 22:36:04 +05:30