Skip to content
This repository was archived by the owner on Nov 17, 2025. It is now read-only.

Conversation

@adam-phntms
Copy link
Contributor

Potential fix for https://github.com/phantomstudios/strapi-plugin-github-publish/security/code-scanning/2

To fix the issue, we will add a permissions block to the workflow. Since the workflow involves publishing to npm, it requires contents: read to access the repository contents and packages: write to publish the package. These permissions will be explicitly defined at the job level to limit their scope to the publish-npm 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>
@adam-phntms adam-phntms marked this pull request as ready for review June 25, 2025 16:13
@adam-phntms adam-phntms requested a review from JPedersen June 25, 2025 16:14
@JPedersen JPedersen merged commit ab0a1e8 into master Jun 25, 2025
4 checks passed
@JPedersen JPedersen deleted the alert-autofix-2 branch June 25, 2025 16:15
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants