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

cstamas pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-mvnd.git


The following commit(s) were added to refs/heads/master by this push:
     new 1bf08398 Fix workflow
1bf08398 is described below

commit 1bf0839807143446b1d3b7d84e2abe403ac1465c
Author: Tamas Cservenak <[email protected]>
AuthorDate: Wed May 22 15:13:41 2024 +0200

    Fix workflow
    
    CI Actions are now triggered two times for some PRs,
    once due "pull request" and once due "push".
    
    Limit "push" trigger to two notable branches only.
---
 .github/workflows/early-access.yaml | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/.github/workflows/early-access.yaml 
b/.github/workflows/early-access.yaml
index 3c2f5962..cd2da4c6 100644
--- a/.github/workflows/early-access.yaml
+++ b/.github/workflows/early-access.yaml
@@ -18,7 +18,12 @@
 name: Early Access
 
 # trigger on push to branches and PR
-on: [push, pull_request]
+on:
+  push:
+    branches:
+      - master
+      - mvnd-1.x
+  pull_request:
 
 env:
   JAVA_VERSION: '17'

Reply via email to