Skip to content

Conversation

@hhvrc
Copy link
Contributor

@hhvrc hhvrc commented Jun 23, 2025

Potential fix for https://github.com/OpenShock/Common.Net/security/code-scanning/3

To fix the issue, add a permissions block at the root of the workflow file. This block will define the least privileges required for the workflow. Based on the provided steps, the workflow primarily reads repository contents and does not appear to require write access. Therefore, the permissions block should specify contents: read. If additional permissions are needed in the future, they can be added explicitly.


Suggested fixes powered by Copilot Autofix. Review carefully before merging.

…n permissions

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
@hhvrc hhvrc marked this pull request as ready for review June 23, 2025 11:55
@hhvrc hhvrc merged commit ff56a17 into master Jun 23, 2025
5 of 6 checks passed
@hhvrc hhvrc deleted the alert-autofix-3 branch June 23, 2025 11:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants