This is an automated email from the ASF dual-hosted git repository.
sjaranowski pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-dependency-plugin.git
The following commit(s) were added to refs/heads/master by this push:
new 9a10ac47 Add PR Automation and Stale actions
9a10ac47 is described below
commit 9a10ac47584ceb0933e36e00bde6d13164c328c5
Author: Slawomir Jaranowski <[email protected]>
AuthorDate: Mon Feb 24 20:20:03 2025 +0100
Add PR Automation and Stale actions
---
.github/release-drafter.yml | 2 +-
.../{release-drafter.yml => workflows/pr-automation.yml} | 14 ++++++++++----
.github/{release-drafter.yml => workflows/stale.yml} | 15 +++++++++++----
3 files changed, 22 insertions(+), 9 deletions(-)
diff --git a/.github/release-drafter.yml b/.github/release-drafter.yml
index f8dfd76b..9b801fc6 100644
--- a/.github/release-drafter.yml
+++ b/.github/release-drafter.yml
@@ -18,4 +18,4 @@
# under the License.
_extends: maven-gh-actions-shared
-tag-template: maven-dependency-plugin-$NEXT_MINOR_VERSION
+tag-template: maven-dependency-plugin-$RESOLVED_VERSION
diff --git a/.github/release-drafter.yml b/.github/workflows/pr-automation.yml
similarity index 79%
copy from .github/release-drafter.yml
copy to .github/workflows/pr-automation.yml
index f8dfd76b..53075957 100644
--- a/.github/release-drafter.yml
+++ b/.github/workflows/pr-automation.yml
@@ -1,5 +1,3 @@
-
-
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
@@ -17,5 +15,13 @@
# specific language governing permissions and limitations
# under the License.
-_extends: maven-gh-actions-shared
-tag-template: maven-dependency-plugin-$NEXT_MINOR_VERSION
+name: PR Automation
+on:
+ pull_request_target:
+ types:
+ - closed
+
+jobs:
+ pr-automation:
+ name: PR Automation
+ uses: apache/maven-gh-actions-shared/.github/workflows/pr-automation.yml@v4
diff --git a/.github/release-drafter.yml b/.github/workflows/stale.yml
similarity index 81%
copy from .github/release-drafter.yml
copy to .github/workflows/stale.yml
index f8dfd76b..85ae8637 100644
--- a/.github/release-drafter.yml
+++ b/.github/workflows/stale.yml
@@ -1,5 +1,3 @@
-
-
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements. See the NOTICE file
# distributed with this work for additional information
@@ -17,5 +15,14 @@
# specific language governing permissions and limitations
# under the License.
-_extends: maven-gh-actions-shared
-tag-template: maven-dependency-plugin-$NEXT_MINOR_VERSION
+name: Stale
+
+on:
+ schedule:
+ - cron: '16 3 * * *'
+ issue_comment:
+ types: [ 'created' ]
+
+jobs:
+ stale:
+ uses: 'apache/maven-gh-actions-shared/.github/workflows/stale.yml@v4'