Skip to content

Add CodeQL scanning for Python#249

Merged
derek73 merged 3 commits into
masterfrom
add-codeql-scanning
Jul 6, 2026
Merged

Add CodeQL scanning for Python#249
derek73 merged 3 commits into
masterfrom
add-codeql-scanning

Conversation

@derek73

@derek73 derek73 commented Jul 6, 2026

Copy link
Copy Markdown
Owner

Summary

  • Adds a CodeQL workflow that runs on push/PR to master and weekly on a schedule
  • Uses the default query suite (not security-extended) to start with lower-noise findings
  • Excludes tests/, docs/, and dist/ from analysis via .github/codeql/codeql-config.yml

Test plan

  • Confirm the CodeQL workflow run appears and completes successfully on this PR
  • Check the Security > Code scanning tab for results once the run finishes

Uses the default query suite (not security-extended) and excludes
tests/docs/dist from analysis to keep initial findings low-noise.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@derek73 derek73 self-assigned this Jul 6, 2026
@derek73 derek73 added the CI label Jul 6, 2026
@codecov-commenter

codecov-commenter commented Jul 6, 2026

Copy link
Copy Markdown

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 97.52%. Comparing base (a104373) to head (468d8e1).
❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #249   +/-   ##
=======================================
  Coverage   97.52%   97.52%           
=======================================
  Files          13       13           
  Lines         888      888           
=======================================
  Hits          866      866           
  Misses         22       22           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

v3 is slated for deprecation in December 2026.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@derek73 derek73 added this to the v1.3.0 milestone Jul 6, 2026
Default setup was scanning both python and actions languages; the
python-only advanced workflow silently dropped actions coverage
(which previously caught a real missing-workflow-permissions alert).
The tests/docs/dist exclusions weren't preventing any actual findings
- all historical alerts are in nameparser/config/regexes.py - so drop
that config file rather than carry unused maintenance.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@github-advanced-security

Copy link
Copy Markdown

You are seeing this message because GitHub Code Scanning has recently been set up for this repository, or this pull request contains the workflow file for the Code Scanning tool.

What Enabling Code Scanning Means:

  • The 'Security' tab will display more code scanning analysis results (e.g., for the default branch).
  • Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results.
  • You will be able to see the analysis results for the pull request's branch on this overview once the scans have completed and the checks have passed.

For more information about GitHub Code Scanning, check out the documentation.

@derek73 derek73 merged commit 3329f90 into master Jul 6, 2026
7 checks passed
@derek73 derek73 deleted the add-codeql-scanning branch July 6, 2026 05:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants