Reduce the scope of the GITHUB_TOKEN by default #2139
Labels
🏦 debt
Tech debt
🥒 core team
Candidate for going onto the Cucumber Open Board: https://github.com/orgs/cucumber/projects/8
@sashashura has been submitting a number of PRs to the Cucumber org that reduce the access to the Github token for specific actions. This block-list approach is unfortunately scatter gun and doesn't scale well, it is also insecure by default.
By reducing the scope across the organization we only have to increase it for the
cucumber/action-create-github-release
. All other actions do (as far as I know) require elevated permissions.The text was updated successfully, but these errors were encountered: