Commit eef704e 1 parent 4834950 commit eef704e Copy full SHA for eef704e
File tree 2 files changed +15
-12
lines changed
2 files changed +15
-12
lines changed Original file line number Diff line number Diff line change 6
6
7
7
jobs :
8
8
pre-commit :
9
- uses : ./.github/workflows/reusable-pre-commit.yml
10
- with :
11
- ros_distro : humble
9
+ uses : ./.github/workflows/reusable-update-pre-commit.yml
Original file line number Diff line number Diff line change @@ -63,21 +63,26 @@ jobs:
63
63
with :
64
64
token : ${{ secrets.GITHUB_TOKEN }}
65
65
branch : auto-update-${{ github.event.inputs.ref_for_scheduled_build }}
66
+ base : main
66
67
commit-message : Bump version of pre-commit hooks
67
68
title : Bump version of pre-commit hooks
68
69
body : This pull request contains auto-updated files of the pre-commit config.
69
70
delete-branch : true
70
- draft : true
71
+ draft : false
71
72
path : ${{ env.path }}
72
73
73
- - name : Auto approve
74
- if : steps.cpr.outputs.pull-request-operation == 'created'
75
- run : gh pr review --approve "${{ steps.cpr.outputs.pull-request-number }}"
76
- env :
77
- GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
74
+ # - name: Enable Pull Request Automerge
75
+ # if: steps.cpr.outputs.pull-request-operation == 'created'
76
+ # run: |
77
+ # cd ${{ env.path }}
78
+ # gh pr merge --squash --auto "${{ steps.cpr.outputs.pull-request-number }}"
79
+ # env:
80
+ # GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
78
81
79
- - name : Enable Pull Request Automerge
82
+ - name : Auto approve
80
83
if : steps.cpr.outputs.pull-request-operation == 'created'
81
- run : gh pr merge --merge --auto "1"
84
+ run : |
85
+ cd ${{ env.path }}
86
+ gh pr review --approve "${{ steps.cpr.outputs.pull-request-number }}"
82
87
env :
83
- GH_TOKEN : ${{ secrets.PAT }}
88
+ GH_TOKEN : ${{ secrets.PRECOMMIT_AUTOUPDATE_PR_TOKEN }}
You can’t perform that action at this time.
0 commit comments