From bfe83db0d5a9a0dab4539733167a574a54a49efa Mon Sep 17 00:00:00 2001 From: Robert Adam Date: Tue, 1 Oct 2024 09:41:11 +0200 Subject: [PATCH] CI(backport): Fix backport action --- .github/workflows/backport.yml | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/.github/workflows/backport.yml b/.github/workflows/backport.yml index 669fb3531a..40590e8ced 100644 --- a/.github/workflows/backport.yml +++ b/.github/workflows/backport.yml @@ -5,18 +5,21 @@ on: types: ["labeled", "closed"] jobs: - label_check: + label_checker: name: Check labels - uses: docker://agilepathway/pull-request-label-checker:latest - with: - prefix_mode: true - all_of: auto-backport-to- - repo_token: ${{ secrets.GITHUB_TOKEN }} - allow_failure: true + runs-on: ubuntu-latest + steps: + - id: check + uses: docker://agilepathway/pull-request-label-checker:latest + with: + prefix_mode: true + all_of: auto-backport-to- + repo_token: ${{ secrets.GITHUB_TOKEN }} + allow_failure: true backport: name: Backport PR - if: github.event.pull_request.merged == true && steps.label_check.outputs.label_check == 'success' + if: github.event.pull_request.merged == true && label_checker.steps.check.outputs.label_check == 'success' runs-on: ubuntu-latest steps: - name: Backport Action