8000 Potential fix for code scanning alert no. 1: Workflow does not contain permissions by borisdamevin · Pull Request #99 · unsass/css · 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. 1: Workflow does not contain permissions #99

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

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

borisdamevin
Copy link
Member

Potential fix for https://github.com/unsass/css/security/code-scanning/1

To fix the issue, we will add a permissions block at the root level of the workflow to apply to all jobs. Based on the workflow's actions, the minimal required permissions are contents: read. This ensures that the workflow has only the permissions it needs to function correctly, reducing the risk of unintended or malicious actions.


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
Development

Successfully merging this pull request may close these issues.

1 participant
0