RSSHub/.github/workflows
neilnaveen ba496a625c
chore: Set permissions for GitHub actions (#9644)
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: neilnaveen <42328488+neilnaveen@users.noreply.github.com>
2022-04-28 21:01:45 +08:00
..
build-assets.yml chore: rebuild yarn.lock 2022-04-11 23:38:08 +00:00
codeql.yml chore(deps): bump github/codeql-action from 1 to 2 (#9621) 2022-04-26 04:40:50 +08:00
comment-on-pr.yml chore: github actions bot email (#9138) 2022-02-18 22:55:22 +08:00
dependabot-fork.yml chore(deps): bump actions/checkout from 2 to 3 (#9230) 2022-03-01 12:04:46 -10:00
docker-release.yml chore: Set permissions for GitHub actions (#9644) 2022-04-28 21:01:45 +08:00
docker-test.yml chore: Set permissions for GitHub actions (#9644) 2022-04-28 21:01:45 +08:00
format.yml chore: Set permissions for GitHub actions (#9644) 2022-04-28 21:01:45 +08:00
npm-publish.yml chore: Set permissions for GitHub actions (#9644) 2022-04-28 21:01:45 +08:00
pr-deploy-route-test.yml chore(deps): bump actions/checkout from 2 to 3 (#9230) 2022-03-01 12:04:46 -10:00
pr-lint.yml chore: switch back from `pull_request_target` to `pull_request` 2022-04-18 02:32:51 +08:00
rebase.yml chore: Set permissions for GitHub actions (#9644) 2022-04-28 21:01:45 +08:00
test.yml chore: Set permissions for GitHub actions (#9644) 2022-04-28 21:01:45 +08:00