This is an automated email from the ASF dual-hosted git repository.
sjaranowski pushed a commit to branch maven-compiler-plugin-3.x
in repository https://gitbox.apache.org/repos/asf/maven-compiler-plugin.git
The following commit(s) were added to refs/heads/maven-compiler-plugin-3.x by
this push:
new 1574836 Update release-drafter configuration, PR automation
1574836 is described below
commit 1574836469a3b163ce0207f67591fbbe8f6dfced
Author: Slawomir Jaranowski <[email protected]>
AuthorDate: Tue Feb 4 19:42:49 2025 +0100
Update release-drafter configuration, 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..58abeee 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-compiler-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'
+