8000 Potential fix for code scanning alert no. 7: Workflow does not contain permissions by VirtuBox · Pull Request #735 · WordOps/WordOps · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Potential fix for code scanning alert no. 7: Workflow does not contain permissions #735

8000
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 21, 2025

Conversation

VirtuBox
Copy link
Member

Potential fix for https://github.com/WordOps/WordOps/security/code-scanning/7

To fix the issue, we will add a permissions block at the workflow level to explicitly define the minimal permissions required. Since this workflow primarily interacts with the repository contents to build and publish a package, it only needs contents: read. This ensures that the workflow does not inadvertently gain unnecessary write permissions.

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>
@VirtuBox VirtuBox marked this pull request as ready for review May 21, 2025 09:50
@VirtuBox VirtuBox merged commit ad4b5ee into master May 21, 2025
6 checks passed
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
0