Fix service label action (#84046)
authorCarlos Sánchez López <1175054+carlossanlop@users.noreply.github.com>
Tue, 28 Mar 2023 20:21:41 +0000 (13:21 -0700)
committerGitHub <noreply@github.com>
Tue, 28 Mar 2023 20:21:41 +0000 (14:21 -0600)
.github/workflows/check-service-labels.yml

index bcbdafa..53435a6 100644 (file)
@@ -5,6 +5,7 @@ permissions:
 
 on:
   pull_request:
+    types: [opened, reopened, labeled, unlabeled, synchronize]
     branches:
       - 'release/**'
 
@@ -13,7 +14,7 @@ jobs:
     runs-on: ubuntu-latest
     steps:
     - name: Check servicing labels
-      run:
+      run: |
         if [ "${{ contains(github.event.pull_request.labels.*.name, 'Servicing-approved') }}" = "true" ]; then
           exit 0
         else