nodenv / node-build

Install NodeJS versions
MIT License
271 stars 80 forks source link

[StepSecurity] ci: Harden GitHub Actions #913

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 @jasonkarns. Please merge the Pull Request to incorporate the requested changes. Please tag @jasonkarns 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