Skip to content

ci: add workflow to enforce conventional commits#15734

Merged
christopherco merged 3 commits intomicrosoft:tomls/base/mainfrom
reubeno:lint-pr-titles
Feb 14, 2026
Merged

ci: add workflow to enforce conventional commits#15734
christopherco merged 3 commits intomicrosoft:tomls/base/mainfrom
reubeno:lint-pr-titles

Conversation

@reubeno
Copy link
Member

@reubeno reubeno commented Feb 5, 2026

We're planning to adopt Conventional Commits in this branch; this workflow helps guide contributors to following the guidelines.

Copy link
Contributor

@ddstreetmicrosoft ddstreetmicrosoft left a comment

Choose a reason for hiding this comment

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

some comments only, I'll leave this to Chris for approval

@reubeno reubeno marked this pull request as ready for review February 13, 2026 18:00
Copilot AI review requested due to automatic review settings February 13, 2026 18:00
Copy link
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

This PR adds a new GitHub Actions workflow to enforce the Conventional Commits specification on pull request titles. The workflow runs automatically when PRs are opened, edited, or reopened, checking that PR titles follow the conventional commit format (e.g., fix:, feat:, ci:, etc.). It provides helpful feedback to contributors by posting a comment on PRs that don't follow the convention.

Changes:

  • Added .github/workflows/check-pr-title.yml workflow that validates PR titles against Conventional Commits specification
  • Workflow uses pull_request_target trigger with proper security review comments
  • Includes automated feedback mechanism that posts/updates/deletes comments based on validation status

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@christopherco christopherco merged commit 08f3bd5 into microsoft:tomls/base/main Feb 14, 2026
7 checks passed
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.

3 participants