Skip to content

ci: optimize semantic PR title check workflow (@d1rshan)#7888

Open
d1rshan wants to merge 2 commits into
monkeytypegame:masterfrom
d1rshan:ci/optimize-semantic-pr-workflow
Open

ci: optimize semantic PR title check workflow (@d1rshan)#7888
d1rshan wants to merge 2 commits into
monkeytypegame:masterfrom
d1rshan:ci/optimize-semantic-pr-workflow

Conversation

@d1rshan
Copy link
Copy Markdown
Contributor

@d1rshan d1rshan commented May 1, 2026

Optimizes the pr title check workflow by doing these 3 things:

  1. skip job on non-title edits: (now the check runs for any event ie such as pr body edit)

  2. add concurrency group: (cancels any in-progress run when a newer one is triggered on the same pr)

  3. add skip_unchanged: true to comment step: (avoids a redundant api call to update the sticky error comment if its content hasn't changed since the last run)

Copilot AI review requested due to automatic review settings May 1, 2026 14:34
@github-actions github-actions Bot added the waiting for review Pull requests that require a review before continuing label May 1, 2026
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

Optimizes the “Semantic PR Title” GitHub Actions workflow to reduce redundant executions and unnecessary sticky-comment updates, while keeping the title validation rules unchanged.

Changes:

  • Add concurrency to cancel older in-progress runs for the same PR.
  • Skip pull_request_target.edited runs when the PR title didn’t change.
  • Avoid rewriting the sticky error comment when its content is unchanged.

Comment thread .github/workflows/semantic-pr-title.yml Outdated
@d1rshan d1rshan marked this pull request as draft May 6, 2026 14:00
@github-actions github-actions Bot removed the waiting for review Pull requests that require a review before continuing label May 6, 2026
@d1rshan d1rshan marked this pull request as ready for review May 13, 2026 06:33
@github-actions github-actions Bot added the waiting for review Pull requests that require a review before continuing label May 13, 2026
@d1rshan d1rshan changed the title ci: optimize semantic pr title workflow (@d1rshan) ci: optimize semantic PR title check workflow (@d1rshan) May 13, 2026
@d1rshan d1rshan marked this pull request as draft May 22, 2026 08:56
@github-actions github-actions Bot removed the waiting for review Pull requests that require a review before continuing label May 22, 2026
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@d1rshan d1rshan marked this pull request as ready for review May 22, 2026 09:05
@github-actions github-actions Bot added the waiting for review Pull requests that require a review before continuing label May 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

waiting for review Pull requests that require a review before continuing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants