-
-
Notifications
You must be signed in to change notification settings - Fork 7.1k
Implement CodeQL Security Scan in workflow #9871
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
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -75,3 +75,27 @@ jobs: | |||||||||
| run: pylinkvalidate.py -P http://localhost:8000/ | ||||||||||
|
|
||||||||||
| - run: echo "Done" | ||||||||||
|
|
||||||||||
| codeql: | ||||||||||
| name: CodeQL Security Scan | ||||||||||
| runs-on: ubuntu-latest | ||||||||||
|
|
||||||||||
| permissions: | ||||||||||
| security-events: write | ||||||||||
| contents: read | ||||||||||
|
|
||||||||||
| steps: | ||||||||||
| - name: Checkout code | ||||||||||
| uses: actions/checkout@v4 | ||||||||||
|
||||||||||
| uses: actions/checkout@v4 | |
| uses: actions/checkout@v6 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please remove these comments or write them in English... From my basic Spanish they don't seem to add a lot of value, so I would lean towards removing
Copilot
AI
Feb 24, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The added inline comments are in Spanish, while the rest of the workflows in this repo are written in English. Please translate these to English to keep CI configuration maintainable for the broader contributor base.
| # Para Python NO hace falta build ni dependencias | |
| # CodeQL analiza el código fuente directamente | |
| # For Python, no build or dependencies are required | |
| # CodeQL analyzes the source code directly |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This job requests
security-events: write, which GitHub does not grant to workflows triggered from forked PRs. Since the workflow runs onpull_request, this job is likely to fail for external contributors. Consider guarding the job/steps to skip on forks, or run CodeQL only onpush/schedule(or usepull_request_targetwith appropriate hardening).