File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3232 description : The branch to check for updates, defaults to the default branch
3333 required : false
3434 type : string
35+ default : master
3536 repman-host :
3637 description : The repman host for composer, if applicable
3738 required : false
@@ -167,6 +168,16 @@ jobs:
167168 - name : Remove git commit hooks
168169 if : steps.check_grumphp.outputs.files_exists == 'true'
169170 run : vendor/bin/grumphp git:deinit
171+
172+ - name : ' Get Previous tag'
173+ id : previoustag
174+ uses : " WyriHaximus/github-action-get-previous-tag@v1"
175+
176+ - name : ' Get next minor version'
177+ id : semvers
178+ uses : " WyriHaximus/github-action-next-semvers@v1"
179+ with :
180+ version : ${{ steps.previoustag.outputs.tag }}
170181
171182 - name : Create a pull request
172183 uses : peter-evans/create-pull-request@v6
@@ -180,8 +191,9 @@ jobs:
180191 committer : ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com>
181192 author : ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com>
182193 signoff : false
183- branch : feature/dependency-updates
184- delete-branch : true
194+ branch : hotfix/${{ steps.semvers.outputs.patch }}
195+ base : ${{ inputs.branch }}
196+ delete-branch : false
185197 title : Update modules
186198 body : |
187199 ${{ steps.composer-update.outputs.commit_body }}
You can’t perform that action at this time.
0 commit comments