Skip to content

chore(ci): enforce conventional commit format on PR titles#390

Draft
Copilot wants to merge 3 commits intomainfrom
copilot/ensure-pr-titles-conventional-commit
Draft

chore(ci): enforce conventional commit format on PR titles#390
Copilot wants to merge 3 commits intomainfrom
copilot/ensure-pr-titles-conventional-commit

Conversation

Copy link

Copilot AI commented Mar 21, 2026

release-please only picks up commits that follow conventional commit conventions. Without a CI gate, PRs merged with non-conforming titles are silently excluded from changelogs and releases.

Changes

  • New workflow .github/workflows/pr-title.yml — validates PR titles against the Conventional Commits spec using amannn/action-semantic-pull-request@v5
    • Triggers on pull_request_target (opened, edited, synchronize, reopened) so the check re-runs whenever the title is updated and stays fresh for branch protection requirements
    • Requires only pull-requests: read permission

Valid title examples:

feat(api): add pagination to provider list
fix: handle null providerId in metrics labels
chore(ci): update workflow permissions
Original prompt

This section details on the original issue you should resolve

<issue_title>Ensure PR titles have a conventional commit title</issue_title>
<issue_description>## Done Criteria
Ensure each PR title follows conventional commit conventions. If it doesn't, a CI check should fail.

Why Important

release-please only includes commits that follow conventional commit conventions. We want all of our PRs getting indicated in the release-please list, which means all PRs that are going to be squashed should have conventional commits.

User/Customer

Maintainers

Notes

#186 is an instance where this was missed and #388 was done to correct it.</issue_description>

<agent_instructions>If there are off the shelf-solutions to use, please consider or propose using them. Otherwise script this up yourself. </agent_instructions>

Comments on the Issue (you are @copilot in this section)


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Copilot AI changed the title [WIP] Ensure PR titles follow conventional commit conventions chore(ci): enforce conventional commit format on PR titles Mar 21, 2026
Copilot AI requested a review from BigLep March 21, 2026 02:41
Copy link
Author

Copilot AI commented Mar 21, 2026

Just as a heads up, I was blocked by some firewall rules while working on your feedback. Expand below for details.

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:

  • https://api.github.com/repos/amannn/action-semantic-pull-request/git/ref/tags/v5.5.3
    • Triggering command: /usr/bin/curl curl -s REDACTED (http block)
  • https://api.github.com/repos/amannn/action-semantic-pull-request/releases/latest
    • Triggering command: /usr/bin/curl curl -sL REDACTED (http block)

If you need me to access, download, or install something from one of these locations, you can either:

Copilot AI requested a review from SgtPooki March 21, 2026 11:58
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.

Ensure PR titles follow conventional commits

3 participants