chore: Set permissions for GitHub actions#13
Closed
nathannaveen wants to merge 1 commit intotcltk:mainfrom
Closed
Conversation
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>
andreas-kupries
pushed a commit
to tcltk/tk
that referenced
this pull request
May 23, 2022
andreas-kupries
pushed a commit
to tcltk/sampleextension
that referenced
this pull request
May 24, 2022
andreas-kupries
pushed a commit
to tcltk/thread
that referenced
this pull request
May 24, 2022
Member
|
Merged to all branches. Thanks! |
Author
Sorry, I don't understand what you mean by "Merged to all branches" because this PR is closed. |
Member
Tcl/Tk is hosted in a fossil repository here. This GIT repository is just a mirror, the real work is done in fossil. Therefore, it would be better if you raised tickets in fossil, but I understand that not everyone is willing to take time to get to know fossil. So, - once in a while - I look here too. |
tcl-mirror
pushed a commit
to tcl-mirror/tdbc
that referenced
this pull request
Jun 28, 2022
tcl-mirror
pushed a commit
to tcl-mirror/sampleextension
that referenced
this pull request
Jun 28, 2022
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.
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
Signed-off-by: nathannaveen 42319948+nathannaveen@users.noreply.github.com