Skip to content

Commit

Permalink
Merge branch 'master' into fix/remove-auth-token
Browse files Browse the repository at this point in the history
  • Loading branch information
Haroenv authored Nov 20, 2024
2 parents 0f8f835 + d68f02c commit 0bd80c0
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/enforce-do-not-merge-label.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Check Do Not Merge Label

on:
pull_request:
types:
- opened
- labeled
- unlabeled

jobs:
fail-for-do-not-merge:
runs-on: ubuntu-latest
steps:
- name: Fail if PR is labelled with "do not merge"
if: contains(github.event.pull_request.labels.*.name, '🚨 DO NOT MERGE')
run: |
echo "This PR is labelled with "do not merge"."
exit 1

0 comments on commit 0bd80c0

Please sign in to comment.