chore: remove mergify config in favor of GitHub merge queues #1
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: Fails when pr/do-not-merge label exists | |
on: | |
pull_request: | |
types: | |
- labeled | |
- unlabeled | |
- edited | |
- opened | |
- synchronize | |
- reopened | |
merge_group: | |
branches: | |
- 10.x | |
jobs: | |
# this job intends to always succeed on merge_group events | |
do-not-merge: | |
runs-on: ubuntu-latest | |
permissions: | |
pull-requests: read | |
steps: | |
- if: | | |
github.event_name == 'pull_request' && | |
contains(github.event.pull_request.labels.*.name, 'do-not-merge') | |
run: exit 1 |