Azure / azure-capi-cli-extension

Kubernetes Cluster API support in the Azure CLI
MIT License
20 stars 17 forks source link

[StepSecurity] ci: Harden GitHub Actions #203

Closed step-security-bot closed 5 months ago

step-security-bot commented 5 months ago

Summary

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