Skip to content

Enhance security and CI workflows for vulnerability management#1442

Merged
liudger merged 6 commits intomainfrom
feat/security-and-ci-improvements
Apr 16, 2026
Merged

Enhance security and CI workflows for vulnerability management#1442
liudger merged 6 commits intomainfrom
feat/security-and-ci-improvements

Conversation

@liudger
Copy link
Copy Markdown
Owner

@liudger liudger commented Apr 16, 2026

This pull request introduces several improvements focused on security, code quality, and development workflow automation. The most significant changes are the addition of new GitHub Actions workflows for dependency review, supply-chain security (Scorecard), and type checking, as well as the introduction of a dedicated security policy document. There are also minor updates to the .editorconfig file to standardize YAML indentation.

Security and Policy Enhancements:

  • Added a comprehensive SECURITY.md policy outlining supported versions, reporting process, disclosure timeline, and scope for security issues in the project.

Workflow Automation and Quality Checks:

  • Introduced a new GitHub Actions workflow for dependency review to automatically check for dependency-related issues on pull requests (.github/workflows/dependency-review.yaml).
  • Added a Scorecard supply-chain security workflow to regularly assess repository security best practices and upload results to GitHub's code scanning dashboard (.github/workflows/scorecard.yml).
  • Implemented a typing check workflow using ty and uv to ensure type safety in the codebase on every push and pull request (.github/workflows/typing.yaml).

Editor Configuration:

  • Updated .editorconfig to enforce 2-space indentation for YAML files and fixed a typo in the indent_style property for Makefiles.

Copilot AI review requested due to automatic review settings April 16, 2026 09:40
@liudger liudger added security Marks a security issue that needs to be resolved asap. maintenance Generic maintenance tasks. ci Work that improves the continue integration. labels Apr 16, 2026
@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 16, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 99.89%. Comparing base (9440651) to head (2a43282).
⚠️ Report is 6 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1442   +/-   ##
=======================================
  Coverage   99.89%   99.89%           
=======================================
  Files           6        6           
  Lines         955      955           
  Branches      128      128           
=======================================
  Hits          954      954           
  Partials        1        1           

☔ View full report in Codecov by Sentry.
📢 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.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds security-focused project policy and CI automation to improve vulnerability management and code quality signals.

Changes:

  • Introduces new GitHub Actions workflows for dependency review, Scorecard supply-chain checks, and ty-based typing validation.
  • Adds a SECURITY.md policy document describing reporting and disclosure expectations.
  • Standardizes YAML indentation in .editorconfig and fixes a Makefile indent_style typo.

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
.github/workflows/typing.yaml Adds a CI job to run uv run ty check on src and tests.
.github/workflows/scorecard.yml Adds a scheduled/push Scorecard analysis that uploads SARIF to code scanning.
.github/workflows/dependency-review.yaml Adds dependency review checks on pull requests.
.github/SECURITY.md Documents supported versions and private vulnerability reporting/disclosure process.
.editorconfig Enforces 2-space YAML indentation and fixes Makefile indentation config typo.

Comment thread .github/workflows/scorecard.yml Outdated
@sonarqubecloud
Copy link
Copy Markdown

@liudger liudger merged commit ed54f8b into main Apr 16, 2026
16 checks passed
@liudger liudger deleted the feat/security-and-ci-improvements branch April 16, 2026 10:11
@github-actions github-actions Bot locked and limited conversation to collaborators Apr 18, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

ci Work that improves the continue integration. maintenance Generic maintenance tasks. security Marks a security issue that needs to be resolved asap.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants