Skip to content

Conversation

@JamieSinn
Copy link
Member

Potential fix for https://github.com/DevCycleHQ/android-client-sdk/security/code-scanning/1

To fix the issue, we will add a permissions block at the root level of the workflow. This block will specify the minimal permissions required for the workflow to function correctly. Based on the workflow's steps, it only needs to read the repository contents to check out the code and run tests. Therefore, we will set contents: read as the permission.


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>
@JamieSinn JamieSinn changed the title Potential fix for code scanning alert no. 1: Workflow does not contain permissions chore: Potential fix for code scanning alert no. 1: Workflow does not contain permissions May 15, 2025
@JamieSinn JamieSinn requested a review from a team May 15, 2025 17:27
@JamieSinn JamieSinn marked this pull request as ready for review May 15, 2025 17:27
@JamieSinn JamieSinn enabled auto-merge (squash) May 15, 2025 17:27
@JamieSinn JamieSinn merged commit 995611f into main May 15, 2025
6 checks passed
@JamieSinn JamieSinn deleted the alert-autofix-1 branch May 15, 2025 17:56
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