Skip to content

Commit 71a3125

Browse files
Add missing auto-approve
1 parent 16bac6c commit 71a3125

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/update-versions.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,3 +38,10 @@ jobs:
3838
with:
3939
pull-request-number: ${{ steps.cpr.outputs.pull-request-number }}
4040
merge-method: squash
41+
- name: Approving PR
42+
if: steps.cpr.outputs.pull-request-operation == 'created'
43+
env:
44+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
45+
run: |
46+
echo "Approving PR"
47+
gh pr review ${{ steps.cpr.outputs.pull-request-number }} --approve

0 commit comments

Comments
 (0)