From 92ee19013e02f09ac03bb4f2979fcf4d3d3156cf Mon Sep 17 00:00:00 2001 From: Inessa Vasilevskaya Date: Tue, 7 Jun 2022 16:24:29 +0200 Subject: [PATCH 45/47] Allow running all tests with dependent leapp pr /rerun-all 4242 now would correctly pick leapp pr 4242 instead of master. --- .github/workflows/reuse-copr-build.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/reuse-copr-build.yml b/.github/workflows/reuse-copr-build.yml index fd59b073..08d78024 100644 --- a/.github/workflows/reuse-copr-build.yml +++ b/.github/workflows/reuse-copr-build.yml @@ -88,14 +88,14 @@ jobs: id: leapp_pr_regex_match with: text: ${{ github.event.comment.body }} - regex: '^/rerun\s+([0-9]+)\s*$' + regex: '^/(rerun|rerun-all)\s+([0-9]+)\s*$' - name: If leapp_pr was specified in the comment - trigger copr build # TODO: XXX FIXME This should schedule copr build for leapp but for now it will be just setting an env var id: leapp_pr if: ${{ steps.leapp_pr_regex_match.outputs.match != '' }} run: | - echo "::set-output name=leapp_pr::${{ steps.leapp_pr_regex_match.outputs.group1 }}" + echo "::set-output name=leapp_pr::${{ steps.leapp_pr_regex_match.outputs.group2 }}" - name: Checkout leapp id: checkout_leapp -- 2.35.3