Skip to content

Conversation

@Kesin11
Copy link
Owner

@Kesin11 Kesin11 commented Jul 5, 2025

Potential fix for https://github.com/Kesin11/ts-junit2json/security/code-scanning/9

To fix the issue, we will add a permissions block to the workflow. Since the test and cli_test jobs do not appear to require write access to the repository, we will set the permissions to contents: read at the workflow level. This will apply to all jobs in the workflow unless overridden. If any job requires additional permissions, we can define a specific permissions block for that job.

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