Skip to content

Commit 6a6f71c

Browse files
committed
ci-status: reset index before committing to ci-cache to avoid stale files
1 parent 140ae99 commit 6a6f71c

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

.github/workflows/ci-status.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ jobs:
1818
git config user.name 'palmshed-cursor[bot]'
1919
git config user.email '294867837+palmshed-cursor[bot]@users.noreply.github.com'
2020
git checkout --orphan ci-cache
21+
git reset
2122
git add .github/ci-status.json
2223
git commit -m 'update ci-status.json'
2324
git push origin ci-cache --force

0 commit comments

Comments
 (0)