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] permissions: {} 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"