This is an automated email from the ASF dual-hosted git repository.
sjaranowski pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/maven-gh-actions-shared.git
The following commit(s) were added to refs/heads/main by this push:
new 10a9507 Execute PR Automation only at closed event
10a9507 is described below
commit 10a9507fa430c72e29da7dfe0896a0b16bb6e406
Author: Slawomir Jaranowski <[email protected]>
AuthorDate: Mon Feb 10 21:16:32 2025 +0100
Execute PR Automation only at closed event
It will be enough to check PR at close event.
eg review_requested event is generated for each reviewer, so we can have
unneeded a parallel executions
---
README.md | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/README.md b/README.md
index e3332ca..4cffa2f 100644
--- a/README.md
+++ b/README.md
@@ -335,8 +335,6 @@ on:
pull_request_target:
types:
- closed
- - unlabeled
- - review_requested
jobs:
pr-automation:
@@ -348,7 +346,7 @@ jobs:
We need a use `pull_request_target` event because we need `GITHUB_TOKEN` with
write permission
to update labels, milestones of PR from forked repositories.
-After approval or merged:
+After merged:
- default label - `maintenance` will be added
- current milestone will be set