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/1

To fix the issue, we will add a permissions block at the root level of the workflow. This block will specify contents: read, which is sufficient for the workflow's needs, as it only checks out the repository and runs build and test commands. No write permissions are required for these operations.

The permissions block will be added immediately after the name field in the workflow file to apply the permissions to all jobs in 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 07:46
@Alkarex Alkarex merged commit c82c4b6 into main May 20, 2025
5 checks passed
@Alkarex Alkarex deleted the alert-autofix-1 branch May 20, 2025 07:47
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