diff --git a/.github/workflows/security-scan.yml b/.github/workflows/security-scan.yml index d8f29fd9..0eb66b5a 100644 --- a/.github/workflows/security-scan.yml +++ b/.github/workflows/security-scan.yml @@ -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