Skip to content

Conversation

@jonperron
Copy link
Owner

Potential fix for https://github.com/jonperron/python-navitia-client/security/code-scanning/1

To fix the issue, we will add a permissions block at the root of the workflow file. Since this is a basic CI pipeline for testing Python code, the workflow only needs read access to the repository contents. We will set contents: read as the minimal required permission. This change will ensure that the workflow adheres to the principle of least privilege while maintaining its functionality.


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

jonperron and others added 2 commits May 28, 2025 17:33
…n permissions

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
@jonperron jonperron marked this pull request as ready for review May 28, 2025 16:05
@jonperron jonperron merged commit c2f9954 into main May 28, 2025
5 checks passed
@jonperron jonperron deleted the alert-autofix-1 branch May 28, 2025 16:05
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