From aa3024fffb26dc54ce4fb1d2e8445d00d144f9aa Mon Sep 17 00:00:00 2001 From: d1rshan Date: Fri, 1 May 2026 19:59:51 +0530 Subject: [PATCH 1/2] optimize --- .github/workflows/semantic-pr-title.yml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/semantic-pr-title.yml b/.github/workflows/semantic-pr-title.yml index 56f9e538eb5e..40e884e82646 100644 --- a/.github/workflows/semantic-pr-title.yml +++ b/.github/workflows/semantic-pr-title.yml @@ -11,11 +11,17 @@ on: permissions: pull-requests: write +concurrency: + group: semantic-pr-title-${{ github.event.pull_request.number }}-${{ github.workflow }} + cancel-in-progress: true + jobs: main: name: check - runs-on: ubuntu-latest - if: ${{ github.event.pull_request.user.login != 'dependabot[bot]' }} + runs-on: ubuntu-slim + if: >- + github.event.pull_request.user.login != 'dependabot[bot]' && + (github.event.action != 'edited' || github.event.changes.title != null) steps: - name: Lint and verify PR title uses: amannn/action-semantic-pull-request@v5 @@ -49,6 +55,7 @@ jobs: if: always() && (steps.lint_pr_title.outputs.error_message != null) with: header: pr-title-lint-error + skip_unchanged: true message: | Hey there and thank you for opening this pull request! 👋🏼 From 6d3dc0f8c69f9a3ade7938461f9df3d30470f6f5 Mon Sep 17 00:00:00 2001 From: Darshan Paccha Date: Fri, 22 May 2026 14:30:21 +0530 Subject: [PATCH 2/2] revert to ubuntu latest Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- .github/workflows/semantic-pr-title.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/semantic-pr-title.yml b/.github/workflows/semantic-pr-title.yml index 40e884e82646..4df21420a8a5 100644 --- a/.github/workflows/semantic-pr-title.yml +++ b/.github/workflows/semantic-pr-title.yml @@ -18,7 +18,7 @@ concurrency: jobs: main: name: check - runs-on: ubuntu-slim + runs-on: ubuntu-latest if: >- github.event.pull_request.user.login != 'dependabot[bot]' && (github.event.action != 'edited' || github.event.changes.title != null)