Skip to content

Commit faddcbd

Browse files
committed
ci(exclusions): fix loss of untracked list
1 parent 78a2d30 commit faddcbd

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/exclusions.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,8 @@ jobs:
7171
git config user.name "Paul Pfeister (automation)"
7272
git config user.email "[email protected]"
7373
74-
git stash push -m "stash false positive exclusion list" --include-untracked -- false_positive_exclusions.txt
74+
git add -f false_positive_exclusions.txt # -f required to override .gitignore
75+
git stash push -m "stash false positive exclusion list" -- false_positive_exclusions.txt
7576
7677
git fetch origin exclusions || true # Allows creation of branch if deleted
7778
git checkout -B exclusions origin/exclusions || (git checkout --orphan exclusions && git rm -rf .)

0 commit comments

Comments
 (0)