feat: Sync with Seam API via d89eb90c4d83541db4de1b22b1cb78a12f406f99 #2127
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 }} |