From d4fc18f18db97fd89ddf80cf121c19a69b9e13e9 Mon Sep 17 00:00:00 2001 From: Katerina Koukiou Date: Thu, 19 Dec 2024 15:50:38 +0100 Subject: [PATCH] github: trigger webui: force setting the status When repushing in a PR while tests have started we get: Run git clone --depth=1 https://github.com/cockpit-project/bots Cloning into 'bots'... fedora-rawhide-boot/anaconda-pr-6060@rhinstaller/anaconda-webui: isn't in triggerable state (is: pending) Error: Process completed with exit code 1. Instead we want to trigger a fresh run, regardless of the previous one's status. --- .github/workflows/trigger-webui.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/trigger-webui.yml b/.github/workflows/trigger-webui.yml index 5e327033b99..39788f4db4b 100644 --- a/.github/workflows/trigger-webui.yml +++ b/.github/workflows/trigger-webui.yml @@ -70,4 +70,4 @@ jobs: git clone --depth=1 https://github.com/cockpit-project/bots mkdir -p ~/.config/cockpit-dev echo '${{ secrets.GITHUB_TOKEN }}' > ~/.config/cockpit-dev/github-token - bots/tests-trigger --repo ${{ github.repository }} ${{ github.event.number }} fedora-rawhide-boot/anaconda-pr-${{ github.event.number }}@rhinstaller/anaconda-webui + bots/tests-trigger --force --repo ${{ github.repository }} ${{ github.event.number }} fedora-rawhide-boot/anaconda-pr-${{ github.event.number }}@rhinstaller/anaconda-webui