Skip to content

Add PR check for do-not-merge #1

Add PR check for do-not-merge

Add PR check for do-not-merge #1

Workflow file for this run

name: PR Checks
on:
pull_request:
types: [opened, edited, reopened, synchronize]
jobs:
check-do-not-merge-tag:
name: Check for do-not-merge tag
runs-on: ubuntu-latest
steps:
- name: Check for do-not-merge label
run: |
if grep -q "do-not-merge" ${{ github.event.pull_request.labels }}; then
echo "Error: PR contains do-not-merge label"
exit 1
fi