You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by sj...@apache.org on 2026/10/18 12:51:06 UTC

(maven-common-artifact-filters) branch master updated: Use push for PR Automation and add PR Check

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

slawekjaranowski pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-common-artifact-filters.git


The following commit(s) were added to refs/heads/master by this push:
     new 4e02c31  Use push for PR Automation and add PR Check
4e02c31 is described below

commit 4e02c31b6950c9d3e4e1d74595f80e1ed96bfcdc
Author: Slawomir Jaranowski <s....@gmail.com>
AuthorDate: Sun Oct 18 14:36:04 2026 +0200

    Use push for PR Automation and add PR Check
    
    [ci skip]
    
    Co-Authored-By: Claude Opus 5.5 <no...@anthropic.com>
---
 .github/workflows/pr-automation.yml                    |  6 +++---
 .github/workflows/{pr-automation.yml => pr-check.yml}  | 14 +++++++-------
 .github/workflows/{pr-automation.yml => pr-signal.yml} | 18 ++++++++++++------
 3 files changed, 22 insertions(+), 16 deletions(-)

diff --git a/.github/workflows/pr-automation.yml b/.github/workflows/pr-automation.yml
index de4e3e0..e0a5b28 100644
--- a/.github/workflows/pr-automation.yml
+++ b/.github/workflows/pr-automation.yml
@@ -17,9 +17,9 @@
 
 name: PR Automation
 on:
-  pull_request_target:
-    types:
-      - closed
+  push:
+    branches:
+      - master
 
 jobs:
   pr-automation:
diff --git a/.github/workflows/pr-automation.yml b/.github/workflows/pr-check.yml
similarity index 80%
copy from .github/workflows/pr-automation.yml
copy to .github/workflows/pr-check.yml
index de4e3e0..5a958eb 100644
--- a/.github/workflows/pr-automation.yml
+++ b/.github/workflows/pr-check.yml
@@ -15,13 +15,13 @@
 # specific language governing permissions and limitations
 # under the License.
 
-name: PR Automation
+name: PR Check
+
 on:
-  pull_request_target:
-    types:
-      - closed
+  workflow_run:
+    workflows: [PR Signal]
+    types: [completed]
 
 jobs:
-  pr-automation:
-    name: PR Automation
-    uses: apache/maven-gh-actions-shared/.github/workflows/pr-automation.yml@v5
+  pr-check:
+    uses: apache/maven-gh-actions-shared/.github/workflows/pr-check.yml@v5
diff --git a/.github/workflows/pr-automation.yml b/.github/workflows/pr-signal.yml
similarity index 73%
copy from .github/workflows/pr-automation.yml
copy to .github/workflows/pr-signal.yml
index de4e3e0..b90763f 100644
--- a/.github/workflows/pr-automation.yml
+++ b/.github/workflows/pr-signal.yml
@@ -15,13 +15,19 @@
 # specific language governing permissions and limitations
 # under the License.
 
-name: PR Automation
+# signal events on PR, will be used by other workflows to trigger actions on PR
+# by the workflow_run
+
+name: PR Signal
+
 on:
-  pull_request_target:
+  pull_request:
     types:
-      - closed
+      - edited
+      - opened
+      - reopened
+      - synchronize
 
 jobs:
-  pr-automation:
-    name: PR Automation
-    uses: apache/maven-gh-actions-shared/.github/workflows/pr-automation.yml@v5
+  pr-signal:
+    uses: apache/maven-gh-actions-shared/.github/workflows/pr-signal.yml@v5