File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed
Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change 4949
5050 # Create a Pull Request with the version changes
5151 - name : Create Pull Request
52+ id : cretae_pull_request
5253 if : steps.checkmarx-ast-cli.outputs.current_tag != steps.checkmarx-ast-cli.outputs.release_tag
5354 uses : peter-evans/create-pull-request@c5a7806660adbe173f04e3e038b0ccdcd758773c # v6
5455 with :
6364 [1]: https://github.com/Checkmarx/checkmarx-ast-cli
6465 labels : cxone
6566 branch : feature/update_cli_${{ steps.checkmarx-ast-cli.outputs.release_tag }}
67+
68+ - name : Enable Pull Request Automerge
69+ if : ${{ github.event_name == 'repository_dispatch' && steps.cretae_pull_request.outputs.pull-request-operation == 'created' }}
70+ uses : peter-evans/enable-pull-request-automerge@v3
71+ with :
72+ token : ${{ secrets.PERSONAL_ACCESS_TOKEN }}
73+ pull-request-number : ${{ steps.cretae_pull_request.outputs.pull-request-number }}
74+ merge-method : squash
You can’t perform that action at this time.
0 commit comments