File tree Expand file tree Collapse file tree 3 files changed +23
-52
lines changed Expand file tree Collapse file tree 3 files changed +23
-52
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -871,3 +871,25 @@ jobs:
871
871
token : ${{ secrets.PYANSYS_CI_BOT_TOKEN }}
872
872
bot-user : ${{ secrets.PYANSYS_CI_BOT_USERNAME }}
873
873
bot-email : ${{ secrets.PYANSYS_CI_BOT_EMAIL }}
874
+
875
+ automerge-prs :
876
+ name : Automerge PRs (dependabot and pre-commit.ci only)
877
+ runs-on : ubuntu-latest
878
+ needs : [package]
879
+ if : github.event_name == 'pull_request'
880
+ permissions :
881
+ contents : write
882
+ pull-requests : write
883
+ steps :
884
+ - name : Automerge PRs
885
+ uses : ansys/actions/hk-automerge-prs@v8
886
+ with :
887
+ approver : ${{ secrets.PYANSYS_CI_BOT_USERNAME }}
888
+ approver-token : ${{ secrets.PYANSYS_CI_BOT_TOKEN }}
889
+
890
+ - name : If pre-commit PR, add assignee
891
+ if : startsWith(github.head_ref, 'pre-commit-ci-update-config')
892
+ run : gh pr edit --add-assignee pyansys-ci-bot "$PR_URL"
893
+ env :
894
+ PR_URL : ${{github.event.pull_request.html_url}}
895
+ GH_TOKEN : ${{ secrets.PYANSYS_CI_BOT_TOKEN }}
Original file line number Diff line number Diff line change
1
+ use ansys/action/hk-automerge-prs
You can’t perform that action at this time.
0 commit comments