Skip to content

Commit 0780daa

Browse files
Merge pull request #81 from HendrikBorgelt/updates_to_doc_generation
Updates to doc generation
2 parents 2a2d31c + 1ce08fe commit 0780daa

1 file changed

Lines changed: 9 additions & 1 deletion

File tree

.github/workflows/update_excel.yaml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ jobs:
6262
run: just schema-to-excel
6363

6464
- name: Open PR for updated workbook (if changed)
65+
id: create_pr
6566
uses: peter-evans/create-pull-request@v7
6667
with:
6768
token: ${{ secrets.GITHUB_TOKEN }}
@@ -76,4 +77,11 @@ jobs:
7677
This PR was opened automatically by the `update-excel` workflow and only
7778
touches `docs/assets/coremeta4cat_vocabulary.xlsx`.
7879
labels: automated
79-
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

Comments
 (0)