Skip to content

Conversation

@NeftaliYagua
Copy link
Member

Potential fix for https://github.com/Coderic/org.coderic.bank.endpoint/security/code-scanning/1

To fix the issue, we will add a permissions block at the root level of the workflow file. This block will specify the least privileges required for the workflow to function correctly. Since the workflow only checks out code and runs tests, it likely only needs contents: read permission. This ensures that the workflow adheres to the principle of least privilege and avoids granting unnecessary write permissions.


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>
@NeftaliYagua NeftaliYagua marked this pull request as ready for review May 8, 2025 13:12
@NeftaliYagua NeftaliYagua merged commit 26c3d62 into master May 8, 2025
4 checks passed
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