Skip to content

Update projects logic and refactor #31097

Update projects logic and refactor

Update projects logic and refactor #31097

name: Check do-not-merge labels
on:
pull_request:
types:
- opened
- reopened
- labeled
- unlabeled
- synchronize
jobs:
test:
runs-on: ubuntu-latest
name: Check do-not-merge labels
steps:
- name: Get PR labels
id: pr-labels
uses: joerick/[email protected]
- run: |
echo "A 'do-not-merge/*' label has been found in this PR."
exit 1
if: contains(steps.pr-labels.outputs.labels, 'do-not-merge')