Skip to content

Commit

Permalink
fast check
Browse files Browse the repository at this point in the history
  • Loading branch information
Azq2 committed Mar 27, 2024
1 parent 7f80ff8 commit 63dbfc8
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions tools/ci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,11 @@ export TZ=
git config --local user.email "41898282+github-actions[bot]@users.noreply.github.com"
git config --local user.name "github-actions[bot]"

git stash
git pull
git stash pop
git add patches

git diff --cached --exit-code || {
git diff --exit-code patches || {
git stash
git pull
git stash pop
git add patches
git commit -m "sync"
git push
}
Expand Down

0 comments on commit 63dbfc8

Please sign in to comment.