From 9aa2880ddfacf07b315bd2a7f83043a52f050a96 Mon Sep 17 00:00:00 2001 From: Ramya Parimi Date: Tue, 7 Sep 2021 06:39:09 -0500 Subject: [PATCH] Update .github/workflows/close-on-invalid-label.yaml Co-authored-by: Steve Guntrip <12534592+stevecat@users.noreply.github.com> --- .github/workflows/close-on-invalid-label.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/close-on-invalid-label.yaml b/.github/workflows/close-on-invalid-label.yaml index 32e72e6cfb..177e0a1266 100644 --- a/.github/workflows/close-on-invalid-label.yaml +++ b/.github/workflows/close-on-invalid-label.yaml @@ -8,7 +8,7 @@ on: jobs: close-on-adding-invalid-label: - if: github.repository == 'github/docs' + if: github.repository == 'github/docs' && github.event.label.name == 'invalid' runs-on: ubuntu-latest steps: