0
0
mirror of https://github.com/ankidroid/Anki-Android.git synced 2024-09-20 12:02:16 +02:00
Anki-Android/.github
nathannaveen bc5d28d597 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-06-28 13:01:28 +05:30
..
ISSUE_TEMPLATE moving issue_template to ISSUE_TEMPLATE folder 2020-12-21 09:44:05 -05:00
workflows chore: Set permissions for GitHub actions 2022-06-28 13:01:28 +05:30
config.yml Switch to Probot Welcomebot vs non-functional first-interaction action 2020-07-22 13:36:21 -05:00
dependabot.yml build(dependabot): ignore commons-compress v1.22 as well 2021-07-13 08:14:59 -05:00
FUNDING.yml Add Sponsor button to repo (Open Collective) 2020-11-10 12:52:00 -05:00
pull_request_template.md Add accessibility mention to PR template (#8189) 2021-03-14 05:52:42 +01:00