apache / cloudstack-cloudmonkey

Apache Cloudstack Cloudmonkey
Apache License 2.0
92 stars 61 forks source link

[StepSecurity] ci: Harden GitHub Actions #146

Closed step-security-bot closed 5 months ago

step-security-bot commented 6 months ago

Summary

This pull request is created by StepSecurity at the request of @jbampton. Please merge the Pull Request to incorporate the requested changes. Please tag @jbampton 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

jbampton commented 5 months ago

refs https://github.com/apache/cloudstack/pull/8209