summaryrefslogtreecommitdiff
path: root/coverage/control.py
diff options
context:
space:
mode:
authorNaveen <172697+naveensrinivasan@users.noreply.github.com>2022-05-03 04:33:34 -0500
committerGitHub <noreply@github.com>2022-05-03 02:33:34 -0700
commit9ef7d3c4b1fc451bee5a18b10b74f4cabb1e048d (patch)
treedf31c49c9ed493c53c4c4595b5ed289f5f67b765 /coverage/control.py
parent420c01394a31415d7a7cbb80be196bcfca48482c (diff)
downloadpython-coveragepy-git-9ef7d3c4b1fc451bee5a18b10b74f4cabb1e048d.tar.gz
build: Set permissions for GitHub actions (#1369)
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>
Diffstat (limited to 'coverage/control.py')
0 files changed, 0 insertions, 0 deletions