Skip to content

Commit

Permalink
github: trigger webui: force setting the status
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
KKoukiou committed Dec 19, 2024
1 parent 9c618ac commit d4fc18f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/trigger-webui.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit d4fc18f

Please sign in to comment.