There was an error while loading. Please reload this page.
2 parents 2a2d31c + 1ce08fe commit 0780daaCopy full SHA for 0780daa
1 file changed
.github/workflows/update_excel.yaml
@@ -62,6 +62,7 @@ jobs:
62
run: just schema-to-excel
63
64
- name: Open PR for updated workbook (if changed)
65
+ id: create_pr
66
uses: peter-evans/create-pull-request@v7
67
with:
68
token: ${{ secrets.GITHUB_TOKEN }}
@@ -76,4 +77,11 @@ jobs:
76
77
This PR was opened automatically by the `update-excel` workflow and only
78
touches `docs/assets/coremeta4cat_vocabulary.xlsx`.
79
labels: automated
- auto-merge: merge
80
+
81
+ - name: Enable auto-merge on the PR (if one was created)
82
+ if: steps.create_pr.outputs.pull-request-number != ''
83
+ env:
84
+ GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
85
+ run: |
86
+ gh pr merge --auto --merge \
87
+ "${{ steps.create_pr.outputs.pull-request-number }}"
0 commit comments