steffenfritz / FileTrove

FileTrove indexes files and creates metadata from them.
https://filetrove.fritz.wtf
GNU Affero General Public License v3.0
32 stars 5 forks source link

[StepSecurity] ci: Harden GitHub Actions #56

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