Skip to content

Commit ce5dc24

Browse files
authored
Merge branch 'main' into update-collections-${PR_ID}
2 parents c4fdef8 + 67774fb commit ce5dc24

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

.github/workflows/collections-renames.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,18 @@ jobs:
3030
run: bundle exec rake collections
3131

3232
- name: Commit changes and open PR
33+
id: cpr
3334
uses: peter-evans/create-pull-request@v8
3435
with:
3536
commit-message: "✨ Autofixing renamed/removed collection items ✨"
3637
committer: "github-actions[bot] <actions@github.com>"
3738
branch: "update-collections-${PR_ID}"
3839
title: "✨ Autofixing renamed/removed collection items ✨"
40+
41+
- name: Auto-merge PR
42+
if: steps.cpr.outputs.pull-request-number
43+
run: |
44+
gh pr review --approve "${{ steps.cpr.outputs.pull-request-url }}"
45+
gh pr merge --auto "${{ steps.cpr.outputs.pull-request-url }}"
46+
env:
47+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)