Skip to content

ci: add minimum GitHub token permissions for workflows#49

Open
ashishkurmi wants to merge 1 commit intoisaacs:mainfrom
ashishkurmi:main
Open

ci: add minimum GitHub token permissions for workflows#49
ashishkurmi wants to merge 1 commit intoisaacs:mainfrom
ashishkurmi:main

Conversation

@ashishkurmi
Copy link
Copy Markdown

Description
This PR adds minimum token permissions for the GITHUB_TOKEN in GitHub Actions workflows using https://github.com/step-security/secure-workflows.

GitHub Actions workflows have a GITHUB_TOKEN with write access to multiple scopes.
After this change, the scopes will be reduced to the minimum needed for each workflow.

Motivation and Context

Signed-off-by: Ashish Kurmi akurmi@stepsecurity.io

Signed-off-by: Ashish Kurmi <akurmi@stepsecurity.io>
@ashishkurmi
Copy link
Copy Markdown
Author

@isaacs : could you please review this PR?

@isaacs isaacs closed this Apr 2, 2023
@isaacs isaacs reopened this Apr 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants