We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents c4fdef8 + 67774fb commit ce5dc24Copy full SHA for ce5dc24
1 file changed
.github/workflows/collections-renames.yml
@@ -30,9 +30,18 @@ jobs:
30
run: bundle exec rake collections
31
32
- name: Commit changes and open PR
33
+ id: cpr
34
uses: peter-evans/create-pull-request@v8
35
with:
36
commit-message: "✨ Autofixing renamed/removed collection items ✨"
37
committer: "github-actions[bot] <actions@github.com>"
38
branch: "update-collections-${PR_ID}"
39
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