Add initial event feed support #251
Workflow file for this run
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: Validate pull request (do not merge) | |
on: | |
pull_request: | |
types: [opened, labeled, unlabeled, synchronize, ready_for_review] | |
jobs: | |
do_not_merge-check: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Has tag | |
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" |