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

sjaranowski pushed a commit to branch maven-deploy-plugin-3.x
in repository https://gitbox.apache.org/repos/asf/maven-deploy-plugin.git


The following commit(s) were added to refs/heads/maven-deploy-plugin-3.x by 
this push:
     new 386fcf9  Release drafter configuration and PR Automation
386fcf9 is described below

commit 386fcf9ea2ba76129390b2c9317f7e8c7bee9138
Author: Slawomir Jaranowski <s.jaranow...@gmail.com>
AuthorDate: Fri Feb 7 18:25:09 2025 +0100

    Release drafter configuration and PR Automation
---
 .../{release-drafter.yml => pr-automation.yml}         | 18 +++++++++++-------
 .github/workflows/release-drafter.yml                  |  7 ++++++-
 2 files changed, 17 insertions(+), 8 deletions(-)

diff --git a/.github/workflows/release-drafter.yml 
b/.github/workflows/pr-automation.yml
similarity index 77%
copy from .github/workflows/release-drafter.yml
copy to .github/workflows/pr-automation.yml
index 1049eaa..e9d6698 100644
--- a/.github/workflows/release-drafter.yml
+++ b/.github/workflows/pr-automation.yml
@@ -14,12 +14,16 @@
 # KIND, either express or implied.  See the License for the
 # specific language governing permissions and limitations
 # under the License.
-   
-name: Release Drafter
+
+name: PR Automation
 on:
-  push:
-    branches:
-      - master
+  pull_request_target:
+    types:
+      - closed
+      - unlabeled
+      - review_requested
+
 jobs:
-   update_release_draft:
-      uses: 
apache/maven-gh-actions-shared/.github/workflows/release-drafter.yml@v4
+  pr-automation:
+    name: PR Automation
+    uses: apache/maven-gh-actions-shared/.github/workflows/pr-automation.yml@v4
diff --git a/.github/workflows/release-drafter.yml 
b/.github/workflows/release-drafter.yml
index 1049eaa..7743212 100644
--- a/.github/workflows/release-drafter.yml
+++ b/.github/workflows/release-drafter.yml
@@ -19,7 +19,12 @@ name: Release Drafter
 on:
   push:
     branches:
-      - master
+      - maven-deploy-plugin-3.x
+  workflow_dispatch:
+
 jobs:
    update_release_draft:
       uses: 
apache/maven-gh-actions-shared/.github/workflows/release-drafter.yml@v4
+      with:
+        config-name: 'release-drafter-3.x.yml'
+

Reply via email to