mirror of
https://github.com/K-Dense-AI/scientific-agent-skills.git
synced 2026-12-05 18:43:55 +08:00
chore: improve security scan workflow by adding git stash commands to handle untracked files
This commit is contained in:
1 parent
968bf2a2e3
commit
747e003b9e
1 file changed
+3
-1
@@ -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
|
||||
Reference in new issue
Block a user