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 16:26:00 UTC

(maven-scm-publish-plugin) branch master updated: Use push for PR Automation and add PR Check (#168)

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-scm-publish-plugin.git


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

commit face62caadfb7bc02e772f3c1663bbb90bb84e78
Author: Slawomir Jaranowski <s....@gmail.com>
AuthorDate: Sun Oct 18 18:25:55 2026 +0200

    Use push for PR Automation and add PR Check (#168)
    
    
    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