Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@kehiy
Copy link
Member

@kehiy kehiy commented May 4, 2025

Potential fix for https://github.com/dezh-tech/kraken/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 explicitly set the permissions for the GITHUB_TOKEN to contents: read, which is the minimum required for the linting workflow. 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>
@kehiy kehiy marked this pull request as ready for review May 4, 2025 18:14
@kehiy kehiy merged commit 8f6a6bc into main May 4, 2025
2 of 3 checks passed
@kehiy kehiy deleted the alert-autofix-1 branch May 4, 2025 18:14
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