From 04ee6bd222842fd1baafd162cb21d0bba70a2cc7 Mon Sep 17 00:00:00 2001 From: Aleksandr Kurlov Date: Thu, 18 Dec 2025 10:06:45 +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 000000000..3df93ddf1 --- /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 54d89c69c411ef317d76f7ee68d043276f052ff8 Mon Sep 17 00:00:00 2001 From: Aleksandr Kurlov Date: Thu, 18 Dec 2025 15:44:26 +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 3df93ddf1..a847c7850 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 b25bcdcc8f141d7722e2bce32fe2f2a8e9c74186 Mon Sep 17 00:00:00 2001 From: Aleksandr Kurlov Date: Thu, 18 Dec 2025 15:45:00 +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 a847c7850..0b36b5e69 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 8fa83417444e0554f74ccfff01d933d88546ca10 Mon Sep 17 00:00:00 2001 From: Aleksandr Kurlov Date: Mon, 22 Dec 2025 10:58:47 +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 0b36b5e69..f0ecb4cfc 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'