Skip to content

Conversation

@Alkarex
Copy link
Member

@Alkarex Alkarex commented May 20, 2025

Potential fix for https://github.com/alexandrainst/node-red-contrib-postgresql/security/code-scanning/4

To fix the issue, we will add a permissions block at the root of the workflow file. Since the workflow only performs read operations (e.g., checking out the code and installing dependencies), we will set contents: read as the minimal required permission. This ensures that the GITHUB_TOKEN has the least privilege necessary to execute the workflow.


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>
@Alkarex Alkarex marked this pull request as ready for review May 20, 2025 10:00
@Alkarex Alkarex merged commit 65c8907 into main May 20, 2025
5 checks passed
@Alkarex Alkarex deleted the alert-autofix-4 branch May 20, 2025 10:04
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