setup-php/.github
nathannaveen 787285e08a 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-26 00:50:23 +00:00
..
codeql Add CodeQL workflow 2022-01-20 21:45:07 +05:30
ISSUE_TEMPLATE Refactor workflows and templates 2022-01-29 07:29:03 +05:30
workflows chore: Set permissions for GitHub actions 2022-05-26 00:50:23 +00:00
CODE_OF_CONDUCT.md Add templates and format code 2019-09-22 12:25:51 +05:30
CONTRIBUTING.md Refactor workflows and templates 2022-01-29 07:29:03 +05:30
FUNDING.yml Update sponsor options [skip ci] 2021-08-28 12:14:51 +05:30
PULL_REQUEST_TEMPLATE.md Fix contribution docs 2020-10-31 14:55:27 +05:30
SECURITY.md Refactor workflows and templates 2022-01-29 07:29:03 +05:30