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 49
49
50
50
# Create a Pull Request with the version changes
51
51
- name : Create Pull Request
52
+ id : cretae_pull_request
52
53
if : steps.checkmarx-ast-cli.outputs.current_tag != steps.checkmarx-ast-cli.outputs.release_tag
53
54
uses : peter-evans/create-pull-request@c5a7806660adbe173f04e3e038b0ccdcd758773c # v6
54
55
with :
63
64
[1]: https://github.com/Checkmarx/checkmarx-ast-cli
64
65
labels : cxone
65
66
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