File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2020 python-version : " 3.x"
2121 - uses : j178/prek-action@bdca6f102f98e2b4c7029491a53dfd366469e33d # v2.0.4
2222 with :
23- extra-args : --hook-stage manual --all-files
23+ extra-args : --hook-stage manual --all-files --skip oxipng
24+ # Only run oxipng on the last diff, because we haven't updated all images.
25+ - uses : j178/prek-action@bdca6f102f98e2b4c7029491a53dfd366469e33d # v2.0.4
26+ with :
27+ extra-args : --hook-stage manual --from-ref origin/${{ github.base_ref }} oxipng
2428
2529 ruff :
2630 name : ruff
Original file line number Diff line number Diff line change @@ -135,3 +135,7 @@ repos:
135135 name : " Validate Conda environment file"
136136 files : ^environment\.yml$
137137 args : ["--verbose", "--schemafile", "ci/schemas/conda-environment.json"]
138+ - repo : https://github.com/shssoichiro/oxipng
139+ rev : d54e7c04ea58170167d95d9b2b2ec07571602fe2 # frozen: v10.1.0
140+ hooks :
141+ - id : oxipng
You can’t perform that action at this time.
0 commit comments