From 29ec9c3f059884f46f1469c1e64139ad697cb82c Mon Sep 17 00:00:00 2001 From: Fran Mulero Date: Fri, 16 Sep 2022 17:18:25 +0200 Subject: [PATCH] [bitnami/*]Avoid (re)assignment of closed cards (#6698) Avoid (re)assignment of closed cards Follow up #6637 Signed-off-by: Fran Mulero Signed-off-by: Fran Mulero --- .github/workflows/moving-cards.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/moving-cards.yml b/.github/workflows/moving-cards.yml index fd59d1ebd3ab..385bf5850bea 100644 --- a/.github/workflows/moving-cards.yml +++ b/.github/workflows/moving-cards.yml @@ -109,8 +109,10 @@ jobs: runs-on: ubuntu-latest needs: - get-issue - # The job shouldn't run for new PRs created by bitnami-bot - if: ${{ github.event.action != 'created' || needs.get-issue.outputs.author != 'bitnami-bot' || needs.get-issue.outputs.type != 'pull_request'}} + # The job shouldn't run for solved cards or new PRs created by bitnami-bot + if: | + github.event.project_card.column_id != env.SOLVED_COLUMN_ID && + (github.event.action != 'created' || needs.get-issue.outputs.type != 'pull_request' || needs.get-issue.outputs.author != 'bitnami-bot') steps: - name: Repo checkout uses: actions/checkout@v3