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