Skip to content

Conversation

@JamieSinn
Copy link
Member

Potential fix for https://github.com/DevCycleHQ/cli/security/code-scanning/11

To fix the issue, we will add a permissions block at the root level of the workflow file. This block will specify the minimal permissions required for the workflow to function. Since the workflow is a basic CI pipeline that checks out the code, installs dependencies, builds the project, and runs tests, it only requires contents: read permissions. This ensures that the workflow has the least privileges necessary to complete its tasks.


Suggested fixes powered by Copilot Autofix. Review carefully before merging.

…in permissions

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
@JamieSinn JamieSinn changed the title Potential fix for code scanning alert no. 11: Workflow does not contain permissions chore: Potential fix for code scanning alert no. 11: Workflow does not contain permissions May 15, 2025
@JamieSinn JamieSinn requested a review from a team May 15, 2025 17:25
@JamieSinn JamieSinn marked this pull request as ready for review May 15, 2025 17:25
@JamieSinn JamieSinn enabled auto-merge (squash) May 15, 2025 17:25
@JamieSinn JamieSinn merged commit 1c92f19 into main May 15, 2025
8 checks passed
@JamieSinn JamieSinn deleted the alert-autofix-11 branch May 15, 2025 17:27
jonathannorris pushed a commit that referenced this pull request Aug 11, 2025
…t contain permissions (#447)

Potential fix for code scanning alert no. 11: Workflow does not contain 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.

3 participants