This is an automated email from the ASF dual-hosted git repository.
sjaranowski pushed a commit to branch v4
in repository https://gitbox.apache.org/repos/asf/maven-gh-actions-shared.git
The following commit(s) were added to refs/heads/v4 by this push:
new e9e3ba3 Check a commit message also in a verify job
e9e3ba3 is described below
commit e9e3ba3b0f33b9b89155d3446e3524b4a5a166b3
Author: Slawomir Jaranowski <[email protected]>
AuthorDate: Thu Jun 26 21:00:08 2025 +0200
Check a commit message also in a verify job
As have a !cancelled() condition job can execute
even if setup-maven-version is skipped
---
.github/workflows/maven-verify.yml | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/.github/workflows/maven-verify.yml
b/.github/workflows/maven-verify.yml
index 26936f7..9118b2d 100644
--- a/.github/workflows/maven-verify.yml
+++ b/.github/workflows/maven-verify.yml
@@ -328,7 +328,9 @@ jobs:
run: ./mvnw clean --errors --batch-mode --show-version
"-Dmaven.clean.retryOnError"
verify:
- if: (!cancelled()) && inputs.matrix-enabled && ( !inputs.ff-run ||
needs.fail-fast-build.result == 'success' )
+ if: >
+ (!cancelled()) && inputs.matrix-enabled && ( !inputs.ff-run ||
needs.fail-fast-build.result == 'success' ) &&
+ !startsWith(github.event.head_commit.message , '[maven-release-plugin]
prepare release')
needs: [setup-maven-version, fail-fast-build]
name: ${{ matrix.os }} jdk-${{ matrix.jdk }}-${{ matrix.distribution }}
${{ matrix.maven }}
timeout-minutes: ${{ inputs.timeout-minutes }}