runatlantis / atlantis

Terraform Pull Request Automation
https://www.runatlantis.io
Other
7.83k stars 1.06k forks source link

ci: [StepSecurity] Harden GitHub Actions #4954

Closed step-security-bot closed 1 month ago

step-security-bot commented 1 month ago

Summary

This pull request is created by StepSecurity at the request of @nitrocode. Please merge the Pull Request to incorporate the requested changes. Please tag @nitrocode on your message if you have any questions related to the PR.

Security Fixes

Least Privileged GitHub Actions Token Permissions

The GITHUB_TOKEN is an automatically generated secret to make authenticated calls to the GitHub API. GitHub recommends setting minimum token permissions for the GITHUB_TOKEN.

Feedback

For bug reports, feature requests, and general feedback; please email support@stepsecurity.io. To create such PRs, please visit https://app.stepsecurity.io/securerepo.

Signed-off-by: StepSecurity Bot bot@stepsecurity.io