feat: Event Feeds #444
This file contains 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: PR do-not-merge flag | |
on: | |
pull_request: | |
types: [opened, labeled, unlabeled, synchronize, ready_for_review] | |
jobs: | |
label-check: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Has label | |
if: github.base_ref == 'main' && contains( github.event.pull_request.labels.*.name, 'pr/do-not-merge') | |
run: | | |
echo "PR blocked: [tag: pr/do-not-merge]" | |
exit 1 | |
- name: All good | |
if: ${{ success() }} | |
run: | | |
echo "All good" |