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 9e22790  Update documentation about default milestone
9e22790 is described below

commit 9e227909fd35fa4de8c88c6b5a0d81d6a9dc2d24
Author: Slawomir Jaranowski <s.jaranow...@gmail.com>
AuthorDate: Sat Jan 11 11:12:39 2025 +0100

    Update documentation about default milestone
---
 README.md | 21 ++++++++++++++++-----
 1 file changed, 16 insertions(+), 5 deletions(-)

diff --git a/README.md b/README.md
index ef043f2..77b4356 100644
--- a/README.md
+++ b/README.md
@@ -143,8 +143,14 @@ We can store some logs of execution in case of failure as 
workflow attachments:
     with:
       matrix-enabled: false
 ```
+ 
+## More options
 
-## Pull Request Automation
+More options with default values can be found in workflow source in `inputs` 
section:
+
+https://github.com/apache/maven-gh-actions-shared/blob/v4/.github/workflows/maven-verify.yml
+
+# Pull Request Automation
 
 Create GitHub workflow in project file:
 
@@ -193,12 +199,17 @@ to update labels, milestones of PR from forked 
repositories.
 After approval or merged:
 - default label - `maintenance` will be added
 - current milestone will be set
- 
-## More options
 
-More options with default values can be found in workflow source in `inputs` 
section:
+## milestone configuration
 
-https://github.com/apache/maven-gh-actions-shared/blob/v4/.github/workflows/maven-verify.yml
+We need exactly **one** open milestone in order to detect which is current.
+
+If we need more than one open milestone, we have to add a branch to the 
milestone description
+```
+branch: <branch name>
+```
+
+This identifies the default for that branch.
 
 # Labels synchronization
 

Reply via email to