Skip to content

Potential fix for code scanning alert no. 1: Workflow does not contain permissions#106

Merged
nlogozzo merged 1 commit intomainfrom
fix
Jun 11, 2025
Merged

Potential fix for code scanning alert no. 1: Workflow does not contain permissions#106
nlogozzo merged 1 commit intomainfrom
fix

Conversation

@nlogozzo
Copy link
Copy Markdown
Member

Potential fix for https://github.com/NickvisionApps/Application/security/code-scanning/1

To fix the issue, we need to add a permissions block to the workflow. Since the workflow is performing a spell-checking operation, it likely only requires read access to the repository contents. We will add the permissions key at the root level of the workflow to apply the least privilege permissions (contents: read) to all jobs in the workflow.


Suggested fixes powered by Copilot Autofix. Review carefully before merging.

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
@nlogozzo nlogozzo marked this pull request as ready for review June 11, 2025 20:06
@nlogozzo nlogozzo merged commit 7b28f16 into main Jun 11, 2025
8 checks passed
@nlogozzo nlogozzo deleted the fix branch June 11, 2025 20:15
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.

1 participant