auto format md files (#24242)
This commit is contained in:
parent
09b0dd5583
commit
cfcfc3c1fd
1 changed files with 3 additions and 2 deletions
5
.github/workflows/autofix.yml
vendored
5
.github/workflows/autofix.yml
vendored
|
|
@ -26,6 +26,7 @@ jobs:
|
||||||
- name: ast-grep
|
- name: ast-grep
|
||||||
run: |
|
run: |
|
||||||
uvx --from ast-grep-cli sg --pattern 'db.session.query($WHATEVER).filter($HERE)' --rewrite 'db.session.query($WHATEVER).where($HERE)' -l py --update-all
|
uvx --from ast-grep-cli sg --pattern 'db.session.query($WHATEVER).filter($HERE)' --rewrite 'db.session.query($WHATEVER).where($HERE)' -l py --update-all
|
||||||
|
- name: mdformat
|
||||||
|
run: |
|
||||||
|
uvx mdformat .
|
||||||
- uses: autofix-ci/action@635ffb0c9798bd160680f18fd73371e355b85f27
|
- uses: autofix-ci/action@635ffb0c9798bd160680f18fd73371e355b85f27
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue