Skip to content
This repository was archived by the owner on Nov 19, 2024. It is now read-only.

Commit 79b8739

Browse files
committed
Replace label checker with other GitHub action.
1 parent 7f6700f commit 79b8739

File tree

1 file changed

+10
-7
lines changed

1 file changed

+10
-7
lines changed
Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,17 @@
11
name: Enforce PR labels
2-
32
on:
43
pull_request:
5-
types: [unlabeled]
4+
types: [opened, labeled, unlabeled, synchronize]
65
jobs:
7-
enforce-label:
6+
label:
87
runs-on: ubuntu-latest
8+
permissions:
9+
issues: write
10+
pull-requests: write
911
steps:
10-
- uses: yogevbd/enforce-label-action@2.2.2
12+
- uses: mheap/github-action-required-labels@v5
1113
with:
12-
REQUIRED_LABELS_ANY: "bug,feature,enhancement,deprecated,removed,tests,documentation,internal,dependencies"
13-
REQUIRED_LABELS_ANY_DESCRIPTION: "Maintainer needs to assign at least one label before merge"
14-
BANNED_LABELS: "banned"
14+
mode: exactly
15+
count: 1
16+
labels: "bug,feature,enhancement,breaking,tests,documentation,internal,dependencies"
17+
message: "Maintainer needs to assign at least one label before merge"

0 commit comments

Comments
 (0)