mirror of
https://github.com/peass-ng/PEASS-ng.git
synced 2026-07-28 22:51:10 -07:00
ci: update windows definition bot branch reliably
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user