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

To fix the issue, we will add a permissions block to the draft_release job. Based on the functionality of the release-drafter action, it only requires read access to the repository contents. Therefore, we will set contents: read as the permission for this job. This change ensures that the job adheres to the principle of least privilege while maintaining its functionality.

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>
@Kesin11
Copy link
Owner Author

Kesin11 commented Jul 5, 2025

release-drafter may need more permissions.

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