Browse Source

ci: ignore blocked label removed on closed issues (#39793)

David Sanders 1 year ago
parent
commit
2324c4d8fd
1 changed files with 1 additions and 1 deletions
  1. 1 1
      .github/workflows/issue-unlabeled.yml

+ 1 - 1
.github/workflows/issue-unlabeled.yml

@@ -10,7 +10,7 @@ permissions:
 jobs:
   issue-unlabeled-blocked:
     name: All blocked/* labels removed
-    if: startsWith(github.event.label.name, 'blocked/')
+    if: startsWith(github.event.label.name, 'blocked/') && github.event.issue.state == 'open'
     runs-on: ubuntu-latest
     steps:
       - name: Check for any blocked labels