ci(exclusions): fix loss of untracked list

This commit is contained in:
Paul Pfeister 2025-09-17 14:03:51 -04:00
parent 78a2d309d1
commit faddcbd15f
No known key found for this signature in database
GPG Key ID: 70D33A96CBD7A994
1 changed files with 2 additions and 1 deletions

View File

@ -71,7 +71,8 @@ jobs:
git config user.name "Paul Pfeister (automation)"
git config user.email "code@pfeister.dev"
git stash push -m "stash false positive exclusion list" --include-untracked -- false_positive_exclusions.txt
git add -f false_positive_exclusions.txt # -f required to override .gitignore
git stash push -m "stash false positive exclusion list" -- false_positive_exclusions.txt
git fetch origin exclusions || true # Allows creation of branch if deleted
git checkout -B exclusions origin/exclusions || (git checkout --orphan exclusions && git rm -rf .)