Skip to content

Commit a4069dc

Browse files
create pr with automation user (AST-000)
1 parent 625d151 commit a4069dc

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

.github/workflows/update-cli.yml

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ jobs:
5959
if: steps.checkmarx-ast-cli.outputs.current_tag != steps.checkmarx-ast-cli.outputs.release_tag
6060
uses: peter-evans/create-pull-request@c5a7806660adbe173f04e3e038b0ccdcd758773c #v6
6161
with:
62-
token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
62+
token: ${{ secrets.AUTOMATION_TOKEN }}
6363
commit-message: Update checkmarx-ast-cli to ${{ steps.checkmarx-ast-cli.outputs.release_tag }}
6464
title: Update checkmarx-ast-cli binaries with ${{ steps.checkmarx-ast-cli.outputs.release_tag }}
6565
body: |
@@ -71,10 +71,3 @@ jobs:
7171
labels: cxone
7272
branch: feature/update_cli
7373

74-
- name: Enable Pull Request Automerge
75-
if: ${{ github.event_name == 'repository_dispatch' && steps.cretae_pull_request.outputs.pull-request-operation == 'created' }}
76-
uses: peter-evans/enable-pull-request-automerge@v3
77-
with:
78-
token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
79-
pull-request-number: ${{ steps.cretae_pull_request.outputs.pull-request-number }}
80-
merge-method: squash

0 commit comments

Comments
 (0)