ci: add explicit CodeQL workflow#840
Closed
Copilot wants to merge 7 commits into
Closed
Conversation
Agent-Logs-Url: https://github.com/dougborg/katana-openapi-client/sessions/4f23639c-0d1b-471d-8b7c-4be93cf0547d Co-authored-by: dougborg <1261222+dougborg@users.noreply.github.com>
Agent-Logs-Url: https://github.com/dougborg/katana-openapi-client/sessions/4f23639c-0d1b-471d-8b7c-4be93cf0547d Co-authored-by: dougborg <1261222+dougborg@users.noreply.github.com>
Contributor
There was a problem hiding this comment.
Pull request overview
Adds an explicit “advanced” CodeQL workflow to ensure the repository uses github/codeql-action@v4 with default tool selection, avoiding the failing generated/default Code Scanning setup that attempted to download an unavailable CodeQL CLI bundle (2.25.5).
Changes:
- Introduces
.github/workflows/codeql.ymlto run CodeQL on pushes/PRs tomainplus a weekly schedule. - Uses
github/codeql-action/init@v4andgithub/codeql-action/analyze@v4for Python analysis without pinning a CodeQL tools version.
Copilot
AI
changed the title
[WIP] Fix failing CodeQL job for PR #839
ci: add explicit CodeQL workflow
May 26, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Pull Request
Description
Code scanning was failing in CodeQL init because the generated default setup tried to fetch unavailable bundle
2.25.5. This adds an explicit repository-owned CodeQL workflow so scanning usesgithub/codeql-action@v4defaults instead of the broken generated setup..github/workflows/codeql.ymlfor PR, push, and scheduled scansbuild-mode: none, matching the repo’s current CodeQL needsType of Change
work as expected)
Testing
Code Quality
poetry run lintand resolved any issuespoetry run format-checkand code is properly formattedRelated Issues
N/A
Additional Notes
This change is intentionally limited to CI configuration. It does not modify application code or the existing security scan workflow.
Warning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
api.katana.test/home/REDACTED/work/katana-openapi-client/katana-openapi-client/.venv/bin/python /home/REDACTED/work/katana-openapi-client/katana-openapi-client/.venv/bin/python -u -c import sys;exec(eval(sys.stdin.readline()))(dns block)/home/REDACTED/work/katana-openapi-client/katana-openapi-client/.venv/bin/python /home/REDACTED/work/katana-openapi-client/katana-openapi-client/.venv/bin/python -u -c import sys;exec(eval(sys.stdin.readline())) ted/�� get --global n-dir/which http.https://gitbash(dns block)/home/REDACTED/work/katana-openapi-client/katana-openapi-client/.venv/bin/python /home/REDACTED/work/katana-openapi-client/katana-openapi-client/.venv/bin/python -u -c import sys;exec(eval(sys.stdin.readline())) conf�� get --global penapi-client/.v/opt/hostedtoolcache/CodeQL/2.25.4/x64/codeql/javascript/tools/autobuild.sh http.https://git/home/REDACTED/work/katana-openapi-client/katana-openapi-client/.git/hooks/pre-commit(dns block)cafe.github.com/usr/bin/gh /usr/bin/gh send-telemetry(dns block)esm.sh/home/REDACTED/work/katana-openapi-client/katana-openapi-client/.venv/bin/python /home/REDACTED/work/katana-openapi-client/katana-openapi-client/.venv/bin/python -m fastmcp.cli dev apps /home/REDACTED/work/katana-openapi-client/katana-openapi-client/katana_mcp_server/tests/browser/render_test_server.py:mcp --mcp-port 18877 --dev-port 18876 --no-reload(dns block)https://api.github.com/repos/dougborg/katana-openapi-client/actions/runs/26458869066/usr/bin/gh gh run view 26458869066 --log(http block)https://api.github.com/repos/dougborg/katana-openapi-client/code-scanning/analyses/usr/bin/gh gh api repos/dougborg/katana-openapi-client/code-scanning/analyses --paginate /home/REDACTED/work/katana-openapi-client/katana-openapi-client/.github /home/REDACTED/work/katana-openapi-client/katana-openapi-client(http block)https://api.github.com/repos/dougborg/katana-openapi-client/code-scanning/default-setup/usr/bin/gh gh api repos/dougborg/katana-openapi-client/code-scanning/default-setup(http block)If you need me to access, download, or install something from one of these locations, you can either:
Original prompt
This pull request was created from Copilot chat.