Skip to content

Commit b7b0640

Browse files
committed
[bfops/label-check]: do thing
1 parent b391d73 commit b7b0640

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

.github/workflows/check-merge-labels.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,13 @@ permissions: read-all
88

99
jobs:
1010
label_checks:
11+
name: Check merge labels
1112
runs-on: ubuntu-latest
1213
steps:
13-
- id: manually_blocked
14-
if: |
15-
contains(github.event.pull_request.labels.*.name, 'do not merge')
14+
- if: contains(github.event.pull_request.labels.*.name, 'do not merge')
15+
run: exit 0
16+
17+
- if: contains(github.event.pull_request.labels.*.name, 'do not merge')
1618
run: |
1719
echo "This is labeled \"Do not merge\"."
1820
exit 1

0 commit comments

Comments
 (0)