feat: add validate pr workflow (#41061)

This commit is contained in:
Raúl Barroso authored and GitHub committed 2025-12-04 15:21:43 +00:00
1 parent 09df6e8373
commit 10cea1e556
1 file changed
+20
+20
View File
@@ -0,0 +1,20 @@
name: Validate pull request
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"