Skip to content

Conversation

@baev
Copy link
Member

@baev baev commented Jul 11, 2025

Potential fix for https://github.com/allure-framework/allure2/security/code-scanning/3

To fix the issue, add a permissions block to the workflow. Since the workflow uses the actions/labeler@v4 action, it likely requires contents: read to access repository files and pull-requests: write to modify pull request labels. The permissions block should be added at the root level of the workflow to apply to all jobs, ensuring minimal and explicit 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>
@baev baev added the type:internal Change that isn't visible or obvious for end users label Jul 11, 2025
@baev baev marked this pull request as ready for review July 11, 2025 10:52
@baev baev merged commit 7ad9186 into main Jul 11, 2025
18 of 19 checks passed
@baev baev deleted the alert-autofix-3 branch July 11, 2025 11:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

theme:workflow type:internal Change that isn't visible or obvious for end users

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants