Skip to content

Commit

Permalink
feat: Auto-merge data model updates (#579)
Browse files Browse the repository at this point in the history
  • Loading branch information
nickevansuk authored Sep 15, 2023
1 parent 26b4f04 commit 3c34184
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/create-data-model-pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,14 @@ jobs:
automated pr
draft: false

- name: Enable Pull Request Automerge
if: steps.cpr.outputs.pull-request-operation == 'created'
uses: peter-evans/enable-pull-request-automerge@v3
with:
token: ${{ secrets.PUBLIC_REPO_ACCESS_TOKEN }}
pull-request-number: ${{ steps.cpr.outputs.pull-request-number }}
merge-method: squash

- name: Check outputs
run: |
echo "Pull Request Number - ${{ steps.cpr.outputs.pull-request-number }}"
Expand Down

0 comments on commit 3c34184

Please sign in to comment.