This is an automated email from the ASF dual-hosted git repository.

paulk pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/groovy.git


The following commit(s) were added to refs/heads/master by this push:
     new 3d235160ac minor refactor: avoid slow tests for trivial changes (tweak 
for PRs)
3d235160ac is described below

commit 3d235160ac06c83211acebe8a8f95af0e78853b1
Author: Paul King <[email protected]>
AuthorDate: Tue Apr 7 10:40:23 2026 +1000

    minor refactor: avoid slow tests for trivial changes (tweak for PRs)
---
 .github/workflows/groovy-build-coverage.yml    | 4 +++-
 .github/workflows/groovy-build-performance.yml | 4 +++-
 .github/workflows/groovy-jmh-classic.yml       | 4 +++-
 .github/workflows/groovy-jmh.yml               | 4 +++-
 4 files changed, 12 insertions(+), 4 deletions(-)

diff --git a/.github/workflows/groovy-build-coverage.yml 
b/.github/workflows/groovy-build-coverage.yml
index bff9d53e33..23eae66d17 100644
--- a/.github/workflows/groovy-build-coverage.yml
+++ b/.github/workflows/groovy-build-coverage.yml
@@ -22,7 +22,9 @@ permissions:
 
 jobs:
   test:
-    if: contains(github.event.head_commit.message, 'GROOVY-')
+    if: >-
+      contains(github.event.head_commit.message || '', 'GROOVY-') ||
+      contains(github.event.pull_request.title || '', 'GROOVY-')
     strategy:
       fail-fast: false
     runs-on: ubuntu-latest
diff --git a/.github/workflows/groovy-build-performance.yml 
b/.github/workflows/groovy-build-performance.yml
index d76e0bb8e4..c601cee2cf 100644
--- a/.github/workflows/groovy-build-performance.yml
+++ b/.github/workflows/groovy-build-performance.yml
@@ -22,7 +22,9 @@ permissions:
 
 jobs:
   test:
-    if: contains(github.event.head_commit.message, 'GROOVY-')
+    if: >-
+      contains(github.event.head_commit.message || '', 'GROOVY-') ||
+      contains(github.event.pull_request.title || '', 'GROOVY-')
     strategy:
       fail-fast: false
     runs-on: ubuntu-latest
diff --git a/.github/workflows/groovy-jmh-classic.yml 
b/.github/workflows/groovy-jmh-classic.yml
index 78e867fe44..627ee603c1 100644
--- a/.github/workflows/groovy-jmh-classic.yml
+++ b/.github/workflows/groovy-jmh-classic.yml
@@ -22,7 +22,9 @@ permissions:
 
 jobs:
   test:
-    if: contains(github.event.head_commit.message, 'GROOVY-')
+    if: >-
+      contains(github.event.head_commit.message || '', 'GROOVY-') ||
+      contains(github.event.pull_request.title || '', 'GROOVY-')
     strategy:
       fail-fast: false
       matrix:
diff --git a/.github/workflows/groovy-jmh.yml b/.github/workflows/groovy-jmh.yml
index da7f178337..56e903e972 100644
--- a/.github/workflows/groovy-jmh.yml
+++ b/.github/workflows/groovy-jmh.yml
@@ -22,7 +22,9 @@ permissions:
 
 jobs:
   test:
-    if: contains(github.event.head_commit.message, 'GROOVY-')
+    if: >-
+      contains(github.event.head_commit.message || '', 'GROOVY-') ||
+      contains(github.event.pull_request.title || '', 'GROOVY-')
     strategy:
       fail-fast: false
       matrix:

Reply via email to