File tree Expand file tree Collapse file tree 2 files changed +22
-2
lines changed
Expand file tree Collapse file tree 2 files changed +22
-2
lines changed Original file line number Diff line number Diff line change 1+ name : Post-Check Actions
2+ on : [pull_request]
3+
4+ permissions :
5+ contents : write
6+
7+ jobs :
8+ dependabot-merge :
9+ runs-on : ubuntu-latest
10+ if : contains(github.head_ref, 'other/update_java_wrapper')
11+ steps :
12+ - name : Enable auto-merge for Dependabot PRs
13+ env :
14+ PR_URL : ${{github.event.pull_request.html_url}}
15+ GITHUB_TOKEN : ${{secrets.PERSONAL_ACCESS_TOKEN }}
16+ run : gh pr merge --auto --merge "$PR_URL"
17+ - name : Auto approve dependabot PRs
18+ uses : hmarr/auto-approve-action@f0939ea97e9205ef24d872e76833fa908a770363 # v4
19+ with :
20+ github-token : ${{ secrets.PERSONAL_ACCESS_TOKEN }}
Original file line number Diff line number Diff line change @@ -75,12 +75,12 @@ jobs:
7575 if : steps.ast-cli-java-wrapper.outputs.current_tag != steps.ast-cli-java-wrapper.outputs.release_tag
7676 uses : peter-evans/create-pull-request@c5a7806660adbe173f04e3e038b0ccdcd758773c # v6.1.0
7777 with :
78- token : ${{ secrets.PERSONAL_ACCESS_TOKEN }}
78+ token : ${{ secrets.AUTOMATION_TOKEN }}
7979 commit-message : Update ast-cli-java-wrapper to ${{ steps.ast-cli-java-wrapper.outputs.release_tag }}
8080 title : Update ast-cli-java-wrapper with ${{ steps.ast-cli-java-wrapper.outputs.release_tag }}
8181 body : |
8282 Updates [ast-cli-java-wrapper][1] to ${{ steps.ast-cli-java-wrapper.outputs.release_tag }}
8383 Auto-generated by [create-pull-request][2]
8484 [1]: https://github.com/CheckmarxDev/ast-cli-java-wrapper
8585 labels : cxone
86- branch : dependency/update_java_wrapper
86+ branch : other/update_java_wrapper_${{ steps.ast-cli-java-wrapper.outputs.release_tag }}
You can’t perform that action at this time.
0 commit comments