Skip to content

Conversation

@mjp41
Copy link
Member

@mjp41 mjp41 commented Sep 25, 2025

Potential fix for https://github.com/microsoft/verona-rt/security/code-scanning/3

To fix this problem, add a permissions: block that restricts the privileges granted to the GitHub Actions token for all jobs in the workflow. Since none of the jobs in this workflow write to the repository, open pull requests, create issues, or otherwise perform write actions, the permissions can be set as strict as possible with contents: read at the workflow root level. This will apply to all jobs unless overridden. The edit should be made at the top level of the workflow file, directly below the name: line but above the on: block.


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>
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.

1 participant