Skip to content

Commit

Permalink
clean
Browse files Browse the repository at this point in the history
  • Loading branch information
ysawa0 committed Nov 5, 2023
1 parent 9d9be82 commit c22b4d2
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,12 +54,14 @@ jobs:
- name: Run pre-commits
run: |
# pre-commit run --all-files
CUR_SHA=$(git log --pretty=tformat:"%H" -n1 .)
echo $CUR_SHA
echo ${{ env.BASE_COMMIT_ID }}
# pre-commit run --from-ref ${{ env.BASE_COMMIT_ID }} --to-ref $CUR_SHA
git fetch
pre-commit run --from-ref origin/main --to-ref $CUR_SHA
# pre-commit run --from-ref ${{ env.BASE_COMMIT_ID }} --to-ref $CUR_SHA
# pre-commit run --all-files
# pre-commit run --from-ref origin/main --to-ref HEAD
# run: |
# BASE_COMMIT_ID=$(git rev-parse origin/main)

0 comments on commit c22b4d2

Please sign in to comment.