Skip to content

Commit ea33ef6

Browse files
committed
Only run changed part for pre-commit hook. [skip pre-commit.ci]
1 parent 89469d8 commit ea33ef6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/sync.yaml

+2-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,8 @@ jobs:
4242
- name: Check and Commit
4343
run: |
4444
pip install pre-commit
45-
pre-commit run --all-files pofmt
45+
git add docs/
46+
pre-commit run pofmt
4647
git add docs/ src/
4748
git commit -m "Update po files by GitHub Actions"
4849

0 commit comments

Comments
 (0)