Skip to content

Conversation

@adhityan
Copy link
Collaborator

Potential fix for https://github.com/llm-tools/embedJs/security/code-scanning/2

To fix the issue, add a permissions block to the workflow file. This block should specify the least privileges required for the workflow to function correctly. In this case, the workflow only needs read access to repository contents, so the permissions block should be set to contents: read. This change will ensure that the GITHUB_TOKEN used by the workflow has restricted access, mitigating potential security risks.

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>
@adhityan adhityan marked this pull request as ready for review June 13, 2025 11:25
@adhityan adhityan merged commit 4d3c8bd into main Jun 13, 2025
6 of 7 checks passed
@nx-cloud
Copy link

nx-cloud bot commented Jun 13, 2025

View your CI Pipeline Execution ↗ for commit fd8a592.

Command Status Duration Result
nx run-many --t=build ✅ Succeeded 43s View ↗

☁️ Nx Cloud last updated this comment at 2025-06-13 11:26:36 UTC

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