chore: improve security scan workflow by adding git stash commands to handle untracked files

This commit is contained in:
Timothy Kassis committed 2026-04-11 10:53:44 -07:00
1 parent 968bf2a2e3
commit 747e003b9e
1 file changed
+3 -1
+3 -1
View File
@@ -36,7 +36,9 @@ jobs:
git diff --quiet SECURITY.md && exit 0
git config user.name "github-actions[bot]"
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
git stash --include-untracked
git pull --rebase
git stash pop || true
git add SECURITY.md
git commit -m "chore: update security scan report [skip ci]"
git pull --rebase
git push