You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by sl...@apache.org on 2026/09/04 09:47:00 UTC

(maven-build-cache-extension) branch master updated: Restore a trigger on the Maven 4 workflow so the file parses

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

slachiewicz pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-build-cache-extension.git


The following commit(s) were added to refs/heads/master by this push:
     new 96a1e7e5 Restore a trigger on the Maven 4 workflow so the file parses
96a1e7e5 is described below

commit 96a1e7e5023e12c364c615e0863f6517a2ee06f3
Author: Sylwester Lachiewicz <sl...@apache.org>
AuthorDate: Fri Sep 4 10:55:27 2026 +0200

    Restore a trigger on the Maven 4 workflow so the file parses
    
    The `on:` key was commented out to stop Maven 4 running on every push, but a
    workflow without a trigger is invalid: GitHub records a failed run for it on
    every push and pull request, 68 so far, and shows the file path in place of the
    workflow name. `workflow_dispatch` keeps it off the automatic runs and makes it
    startable by hand. Do not comment the trigger out again.
---
 .github/workflows/maven-verify-4.0.x.yml | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/.github/workflows/maven-verify-4.0.x.yml b/.github/workflows/maven-verify-4.0.x.yml
index 00e18c80..568563a9 100644
--- a/.github/workflows/maven-verify-4.0.x.yml
+++ b/.github/workflows/maven-verify-4.0.x.yml
@@ -17,10 +17,11 @@
 
 name: Verify 4.0
 
-# Maven 4 disabled for now: let's focus on Resolver 2 first
-# on:
-#  push:
-#  pull_request:
+# Maven 4 is not verified on every push: let's focus on Resolver 2 first. Start this workflow by
+# hand from the Actions tab when a Maven 4 run is wanted. Commenting the trigger out instead makes
+# the file invalid, which GitHub reports as a failed run on every push and pull request.
+on:
+  workflow_dispatch:
 
 jobs:
   build: