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

This commit is contained in:
David Sanders 2023-09-11 00:33:39 -07:00 committed by GitHub
parent 792037b338
commit 2324c4d8fd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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