ci: update windows definition bot branch reliably

This commit is contained in:
Carlos Polop
2026-04-30 11:43:25 +02:00
parent d78acd4228
commit 96b5185cd4
@@ -52,7 +52,7 @@ jobs:
git checkout -B "$branch"
git add build_lists/windows_version_exploits.json
git commit -m "$title"
git push --force-with-lease origin "$branch"
git push --force origin "$branch"
pr_number="$(gh pr list --state open --head "$branch" --base master --json number --jq '.[0].number')"
if [ -z "$pr_number" ]; then