Skip to content

Commit bbfc459

Browse files
committed
github: workflows: no_not_merge: Fix set of checked labels
Also consider "DNM (manifest)" for this workflow. Signed-off-by: Johan Hedberg <johan.hedberg@silabs.com>
1 parent 174a899 commit bbfc459

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/do_not_merge.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,13 @@ on:
99

1010
jobs:
1111
do-not-merge:
12-
if: ${{ contains(github.event.*.labels.*.name, 'DNM') }}
12+
if: ${{ contains(github.event.*.labels.*.name, 'DNM') ||
13+
contains(github.event.*.labels.*.name, 'DNM (manifest)') }}
1314
name: Prevent Merging
1415
runs-on: ubuntu-24.04
1516
steps:
1617
- name: Check for label
1718
run: |
18-
echo "Pull request is labeled as 'DNM'."
19+
echo "Pull request is labeled as 'DNM' or 'DNM (manifest)'."
1920
echo "This workflow fails so that the pull request cannot be merged."
2021
exit 1

0 commit comments

Comments
 (0)