Files
supabase/.github/workflows/validate-pr.yml
T
Ivan Vasilov b7bac67075 fix: Use head_commit_sha in authorize-vercel-deploys.yml action (#41795)
* Use head commit sha in the authorize-vercel-deploys.yml.

* Add comments.
2026-01-08 16:33:14 +01:00

22 lines
562 B
YAML

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"