From c07914a0bf6cdf9ede536da37e58ad60f61a5411 Mon Sep 17 00:00:00 2001 From: Adria Navarro Date: Thu, 14 Dec 2023 11:18:35 +0100 Subject: [PATCH] Attempt close --- .github/workflows/close-featurebranch.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/close-featurebranch.yml b/.github/workflows/close-featurebranch.yml index 20bf2af5d3..e805cff0e0 100644 --- a/.github/workflows/close-featurebranch.yml +++ b/.github/workflows/close-featurebranch.yml @@ -13,8 +13,8 @@ on: jobs: release: if: | - (contains(github.event.pull_request.labels.*.name, 'feature-branch') || - contains(github.event.changes.labels.removed.*.name, 'feature-branch')) + contains(github.event.pull_request.labels.*.name, 'feature-branch') || + github.event.label.name == 'feature-branch' runs-on: ubuntu-latest steps: - uses: actions/checkout@v3