8000 Potential fix for code scanning alert no. 1: Workflow does not contain permissions by tschm · Pull Request #210 · cvxgrp/cvxcla · 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 #210

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

Merged
merged 1 commit into from
May 26, 2025

Conversation

tschm
Copy link
Collaborator
@tschm tschm commented May 26, 2025

Potential fix for https://github.com/cvxgrp/cvxcla/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 least privileges required for the workflow to function correctly. Based on the provided workflow, it appears that the actions used (cvxgrp/.github/actions/environment and cvxgrp/.github/actions/test) likely only require read access to the repository contents. 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>
@tschm tschm marked this pull request as ready for review May 26, 2025 05:24
@coveralls
Copy link

Pull Request Test Coverage Report for Build 15246897743

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • 2 unchanged lines in 1 file lost coverage.
  • Overall coverage remained the same at 98.678%

Files with Coverage Reduction New Missed Lines %
cvx/cla/types.py 2 96.77%
Totals Coverage Status
Change from base Build 15246843258: 0.0%
Covered Lines: 224
Relevant Lines: 227

💛 - Coveralls

@tschm tschm merged commit c423b6c into main May 26, 2025
22 checks passed
@tschm tschm deleted the alert-autofix-1 branch May 26, 2025 05:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0