Browse Source

Fix enforce label workflow (#6187)

* Update require-label.yml

Co-authored-by: Guy Carmeli <guyca@users.noreply.github.com>
Yogev Ben David 4 years ago
parent
commit
acade0bb50
No account linked to committer's email address
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      .github/workflows/require-label.yml

+ 2
- 2
.github/workflows/require-label.yml View File

@@ -2,7 +2,7 @@ name: Enforce PR label
2 2
 
3 3
 on:
4 4
   pull_request:
5
-    types: [opened, labeled, unlabeled]
5
+    types: [labeled, unlabeled, opened, edited, synchronize]
6 6
 
7 7
 jobs:
8 8
   enforce-label:
@@ -10,4 +10,4 @@ jobs:
10 10
     steps:
11 11
     - uses: yogevbd/enforce-label-action@2.0.0
12 12
       with:
13
-        REQUIRED_LABELS_ANY: "type: accepted/bug,type: accepted/enhancement"
13
+        REQUIRED_LABELS_ANY: "type: accepted/bug,type: accepted/enhancement,Infrastructure,type: documentation"