feat: Sync with Seam API via 32a325e85ffa4b4be049f96c4dbee483677114ec #2143
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- | |
| name: Automerge | |
| on: | |
| pull_request: | |
| branches: | |
| - main | |
| jobs: | |
| merge: | |
| name: Merge | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 30 | |
| if: github.actor == 'dependabot[bot]' || github.event.pull_request.user.login == 'seambot' | |
| steps: | |
| - name: Approve pull request | |
| if: github.actor == 'dependabot[bot]' | |
| run: gh pr review --approve "$PR_URL" | |
| env: | |
| PR_URL: ${{ github.event.pull_request.html_url }} | |
| GH_TOKEN: ${{ secrets.GH_TOKEN }} | |
| - name: Merge pull request | |
| run: gh pr merge --auto --squash "$PR_URL" | |
| env: | |
| PR_URL: ${{ github.event.pull_request.html_url }} | |
| GH_TOKEN: ${{ secrets.GH_TOKEN }} |