Skip to content

Conversation

@baev
Copy link
Member

@baev baev commented Jul 10, 2025

Potential fix for https://github.com/allure-framework/allure-java/security/code-scanning/6

To fix the issue, we will add a permissions block at the root of the workflow file. This block will define the least privileges required for the workflow to function correctly. Based on the steps in the workflow, it appears that the workflow only needs read access to the repository contents. Therefore, we will set contents: read in the permissions block.


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 10, 2025
@baev baev marked this pull request as ready for review July 10, 2025 15:25
@baev baev merged commit 15a70fb into main Jul 11, 2025
8 checks passed
@baev baev deleted the alert-autofix-6 branch July 11, 2025 11:46
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