[pull] master from supabase:master #365
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: Validate pull request | |
| # This workflow will trigger the authorize-vercel-deploys workflow when it's finished. | |
| on: | |
| pull_request: | |
| types: [opened, labeled, unlabeled, synchronize, ready_for_review] | |
| jobs: | |
| validate-pr: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Tagged with 'do not merge' | |
| if: contains( github.event.pull_request.labels.*.name, 'do-not-merge') | |
| run: | | |
| echo "PR blocked: [tag: do not merge]" | |
| exit 1 | |
| - name: All good | |
| if: ${{ success() }} | |
| run: | | |
| echo "All good" |