From df3ec3dd999b547719bebb150b2b860703c42ef4 Mon Sep 17 00:00:00 2001 From: Aleksandr Kurlov Date: Thu, 18 Dec 2025 10:03:10 +0100 Subject: [PATCH 1/4] Add a workflow which restarts failed Konflux builds --- .github/workflows/konflux-auto-retest.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .github/workflows/konflux-auto-retest.yml diff --git a/.github/workflows/konflux-auto-retest.yml b/.github/workflows/konflux-auto-retest.yml new file mode 100644 index 0000000000..3df93ddf15 --- /dev/null +++ b/.github/workflows/konflux-auto-retest.yml @@ -0,0 +1,14 @@ +name: Auto-retest Konflux Builds + +on: + check_run: + types: [completed] + pull_request: + types: [synchronize] + +jobs: + retest-failed-builds: + uses: stackrox/actions/konflux/auto-retest/retest-failed-builds.yml@v1 + with: + max_retries: 3 + check_name_suffix: '-on-push' From 927bdb9db70ae7d6e8474850d2c7f320c58e5376 Mon Sep 17 00:00:00 2001 From: Aleksandr Kurlov Date: Thu, 18 Dec 2025 15:44:00 +0100 Subject: [PATCH 2/4] Fix workflow --- .github/workflows/konflux-auto-retest.yml | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/.github/workflows/konflux-auto-retest.yml b/.github/workflows/konflux-auto-retest.yml index 3df93ddf15..a847c78501 100644 --- a/.github/workflows/konflux-auto-retest.yml +++ b/.github/workflows/konflux-auto-retest.yml @@ -8,7 +8,12 @@ on: jobs: retest-failed-builds: - uses: stackrox/actions/konflux/auto-retest/retest-failed-builds.yml@v1 - with: - max_retries: 3 - check_name_suffix: '-on-push' + runs-on: ubuntu-latest + steps: + - name: Retest failed builds + uses: stackrox/actions/konflux/auto-retest/retest-failed-builds.yml@v1 + with: + + max_retries: 3 + + check_name_suffix: '-on-push' From 18b0f5f355851a8ad39def4c7930a19721dd2556 Mon Sep 17 00:00:00 2001 From: Aleksandr Kurlov Date: Thu, 18 Dec 2025 15:46:12 +0100 Subject: [PATCH 3/4] Fix workflow --- .github/workflows/konflux-auto-retest.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/konflux-auto-retest.yml b/.github/workflows/konflux-auto-retest.yml index a847c78501..0b36b5e69c 100644 --- a/.github/workflows/konflux-auto-retest.yml +++ b/.github/workflows/konflux-auto-retest.yml @@ -13,7 +13,5 @@ jobs: - name: Retest failed builds uses: stackrox/actions/konflux/auto-retest/retest-failed-builds.yml@v1 with: - max_retries: 3 - check_name_suffix: '-on-push' From abf53b05659d6b83143a8ce19293a8f1ba83f118 Mon Sep 17 00:00:00 2001 From: Aleksandr Kurlov Date: Mon, 22 Dec 2025 10:59:07 +0100 Subject: [PATCH 4/4] Fix konflux retest shared workflow --- .github/workflows/konflux-auto-retest.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/konflux-auto-retest.yml b/.github/workflows/konflux-auto-retest.yml index 0b36b5e69c..f0ecb4cfc8 100644 --- a/.github/workflows/konflux-auto-retest.yml +++ b/.github/workflows/konflux-auto-retest.yml @@ -1,4 +1,4 @@ -name: Auto-retest Konflux Builds +name: Retest Konflux Builds on: check_run: @@ -8,10 +8,10 @@ on: jobs: retest-failed-builds: - runs-on: ubuntu-latest - steps: - - name: Retest failed builds - uses: stackrox/actions/konflux/auto-retest/retest-failed-builds.yml@v1 - with: - max_retries: 3 - check_name_suffix: '-on-push' + uses: stackrox/actions/.github/workflows/retest-konflux-builds.yml@v1 + permissions: + pull-requests: write + issues: write + with: + max_retries: 3 + check_name_suffix: '-on-push'