Skip to content

Conversation

@reedloden
Copy link
Member

Potential fix for https://github.com/hex-inc/shared-workflows/security/code-scanning/1

To fix the issue, we will add a permissions block at the root level of the workflow file. Since the workflow only performs a linting operation, it does not require any write permissions. The minimal required permission is contents: read, which allows the workflow to read the repository contents. This change ensures that the workflow operates with the least privileges necessary.

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>
@reedloden reedloden marked this pull request as ready for review May 2, 2025 22:45
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