3232 env :
3333 GH_TOKEN : ${{ secrets.REPOMATIC_PAT || secrets.GITHUB_TOKEN }}
3434 HAS_REPOMATIC_PAT : ${{ secrets.REPOMATIC_PAT && 'true' || '' }}
35- run : uvx --no-progress 'repomatic==6.10.0' setup-guide
35+ run : uvx --no-progress --from . repomatic setup-guide
3636
3737 metadata :
3838 name : 🧬 Project metadata
4545 - name : Run repomatic metadata
4646 id : metadata
4747 run : >
48- uvx --no-progress 'repomatic==6.10.0' metadata
48+ uvx --no-progress --from . repomatic metadata
4949 --format github-json --output "$GITHUB_OUTPUT"
5050 gitignore_exists python_files json_files doc_files markdown_files
5151 is_python_project mailmap_exists
@@ -74,16 +74,16 @@ jobs:
7474 # Explicit list of files is provided, as autopep8 is not able to handle find files in ".github" subdirectory.
7575 env :
7676 PYTHON_FILES : ${{ fromJSON(needs.metadata.outputs.metadata).python_files }}
77- run : echo "${PYTHON_FILES}" | xargs uvx --no-progress 'repomatic==6.10.0' run autopep8 --
77+ run : echo "${PYTHON_FILES}" | xargs uvx --no-progress --from . repomatic run autopep8 --
7878 # XXX Ruff is planning to support linting and formatting in one unified command at one point.
7979 # See: https://github.com/astral-sh/ruff/issues/8232
8080 - name : Run Ruff
8181 run : |
82- uvx --no-progress 'repomatic==6.10.0' run ruff -- check --output-format github
83- uvx --no-progress 'repomatic==6.10.0' run ruff -- format --output-format github
82+ uvx --no-progress --from . repomatic run ruff -- check --output-format github
83+ uvx --no-progress --from . repomatic run ruff -- format --output-format github
8484 - id : pr-metadata
8585 run : >
86- uvx --no-progress 'repomatic==6.10.0' pr-body --output-format github-actions
86+ uvx --no-progress --from . repomatic pr-body --output-format github-actions
8787 --template format-python
8888 --output "$GITHUB_OUTPUT"
8989 - uses : peter-evans/create-pull-request@c0f553fe549906ede9cf27b5156039d195d2ece0 # v8.1.0
@@ -113,10 +113,10 @@ jobs:
113113 # We ignore this since changes are expected in an autofix workflow.
114114 env :
115115 PYPROJECT_FILES : ${{ fromJSON(needs.metadata.outputs.metadata).pyproject_files }}
116- run : echo "${PYPROJECT_FILES}" | xargs uvx --no-progress 'repomatic==6.10.0' run pyproject-fmt -- || true
116+ run : echo "${PYPROJECT_FILES}" | xargs uvx --no-progress --from . repomatic run pyproject-fmt -- || true
117117 - id : pr-metadata
118118 run : >
119- uvx --no-progress 'repomatic==6.10.0' pr-body --output-format github-actions
119+ uvx --no-progress --from . repomatic pr-body --output-format github-actions
120120 --template format-pyproject
121121 --output "$GITHUB_OUTPUT"
122122 - uses : peter-evans/create-pull-request@c0f553fe549906ede9cf27b5156039d195d2ece0 # v8.1.0
@@ -148,7 +148,7 @@ jobs:
148148 - name : Auto-format Markdown
149149 env :
150150 MARKDOWN_FILES : ${{ fromJSON(needs.metadata.outputs.metadata).markdown_files }}
151- run : echo "${MARKDOWN_FILES}" | xargs -n1 uvx --no-progress 'repomatic==6.10.0' run mdformat --
151+ run : echo "${MARKDOWN_FILES}" | xargs -n1 uvx --no-progress --from . repomatic run mdformat --
152152 - name : Markdown fixes for Awesome Lists
153153 if : startsWith(github.event.repository.name, 'awesome-')
154154 # Remove forbidden TOC entries: https://github.com/sindresorhus/awesome-lint/blob/v2.2.2/rules/toc.js#L14-L18
@@ -163,7 +163,7 @@ jobs:
163163 -exec gawk -i inplace '!/^- \[(Contents|Contributing|Footnotes|Related Lists)\]\(#.+\)$/{print}' "{}" \;
164164 - id : pr-metadata
165165 run : >
166- uvx --no-progress 'repomatic==6.10.0' pr-body --output-format github-actions
166+ uvx --no-progress --from . repomatic pr-body --output-format github-actions
167167 --template format-markdown
168168 --output "$GITHUB_OUTPUT"
169169 - uses : peter-evans/create-pull-request@c0f553fe549906ede9cf27b5156039d195d2ece0 # v8.1.0
@@ -195,12 +195,12 @@ jobs:
195195 JSON_FILES : ${{ fromJSON(needs.metadata.outputs.metadata).json_files }}
196196 run : |
197197 echo "${JSON_FILES}" | xargs \
198- uvx --no-progress 'repomatic==6.10.0' run biome -- \
198+ uvx --no-progress --from . repomatic run biome -- \
199199 format --write --no-errors-on-unmatched \
200200 --json-parse-allow-comments=true --json-parse-allow-trailing-commas=true
201201 - id : pr-metadata
202202 run : >
203- uvx --no-progress 'repomatic==6.10.0' pr-body --output-format github-actions
203+ uvx --no-progress --from . repomatic pr-body --output-format github-actions
204204 --template format-json
205205 --output "$GITHUB_OUTPUT"
206206 - uses : peter-evans/create-pull-request@c0f553fe549906ede9cf27b5156039d195d2ece0 # v8.1.0
@@ -225,10 +225,10 @@ jobs:
225225 - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
226226 - uses : astral-sh/setup-uv@6ee6290f1cbc4156c0bdd66691b2c144ef8df19a # v7.4.0
227227 - name : Fix typos
228- run : uvx --no-progress 'repomatic==6.10.0' run typos
228+ run : uvx --no-progress --from . repomatic run typos
229229 - id : pr-metadata
230230 run : >
231- uvx --no-progress 'repomatic==6.10.0' pr-body --output-format github-actions
231+ uvx --no-progress --from . repomatic pr-body --output-format github-actions
232232 --template fix-typos
233233 --output "$GITHUB_OUTPUT"
234234 - uses : peter-evans/create-pull-request@c0f553fe549906ede9cf27b5156039d195d2ece0 # v8.1.0
@@ -258,13 +258,13 @@ jobs:
258258 - id : fix
259259 name : Fix vulnerable dependencies
260260 run : >
261- uvx --no-progress 'repomatic==6.10.0' fix-vulnerable-deps
261+ uvx --no-progress --from . repomatic fix-vulnerable-deps
262262 --output "$GITHUB_OUTPUT" --output-format github-actions
263263 - id : pr-metadata
264264 env :
265265 REPOMATIC_DIFF_TABLE : ${{ steps.fix.outputs.diff_table }}
266266 run : >
267- uvx --no-progress 'repomatic==6.10.0' pr-body --output-format github-actions
267+ uvx --no-progress --from . repomatic pr-body --output-format github-actions
268268 --template fix-vulnerable-deps
269269 --output "$GITHUB_OUTPUT"
270270 - uses : peter-evans/create-pull-request@c0f553fe549906ede9cf27b5156039d195d2ece0 # v8.1.0
@@ -288,11 +288,11 @@ jobs:
288288 - uses : astral-sh/setup-uv@6ee6290f1cbc4156c0bdd66691b2c144ef8df19a # v7.4.0
289289 - name : Sync repomatic-managed files
290290 run : >
291- uvx --no-progress 'repomatic==6.10.0' init
291+ uvx --no-progress --from . repomatic init
292292 --delete-unmodified --delete-excluded
293293 - id : pr-metadata
294294 run : >
295- uvx --no-progress 'repomatic==6.10.0' pr-body --output-format github-actions
295+ uvx --no-progress --from . repomatic pr-body --output-format github-actions
296296 --template sync-repomatic
297297 --output "$GITHUB_OUTPUT"
298298 - uses : peter-evans/create-pull-request@c0f553fe549906ede9cf27b5156039d195d2ece0 # v8.1.0
@@ -334,13 +334,13 @@ jobs:
334334 - name : Format images
335335 id : format
336336 run : >
337- uvx --no-progress 'repomatic==6.10.0' format-images
337+ uvx --no-progress --from . repomatic format-images
338338 --output "$GITHUB_OUTPUT" --output-format github-actions
339339 - id : pr-metadata
340340 env :
341341 GHA_PR_BODY_PREFIX : ${{ steps.format.outputs.markdown }}
342342 run : >
343- uvx --no-progress 'repomatic==6.10.0' pr-body --output-format github-actions
343+ uvx --no-progress --from . repomatic pr-body --output-format github-actions
344344 --template format-images
345345 --output "$GITHUB_OUTPUT"
346346 - uses : peter-evans/create-pull-request@c0f553fe549906ede9cf27b5156039d195d2ece0 # v8.1.0
@@ -368,10 +368,10 @@ jobs:
368368 - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
369369 - uses : astral-sh/setup-uv@6ee6290f1cbc4156c0bdd66691b2c144ef8df19a # v7.4.0
370370 - name : Sync .gitignore
371- run : uvx --no-progress 'repomatic==6.10.0' sync-gitignore
371+ run : uvx --no-progress --from . repomatic sync-gitignore
372372 - id : pr-metadata
373373 run : >
374- uvx --no-progress 'repomatic==6.10.0' pr-body --output-format github-actions
374+ uvx --no-progress --from . repomatic pr-body --output-format github-actions
375375 --template sync-gitignore
376376 --output "$GITHUB_OUTPUT"
377377 - uses : peter-evans/create-pull-request@c0f553fe549906ede9cf27b5156039d195d2ece0 # v8.1.0
@@ -397,10 +397,10 @@ jobs:
397397 - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
398398 - uses : astral-sh/setup-uv@6ee6290f1cbc4156c0bdd66691b2c144ef8df19a # v7.4.0
399399 - name : Sync bumpversion config
400- run : uvx --no-progress 'repomatic==6.10.0' sync-bumpversion
400+ run : uvx --no-progress --from . repomatic sync-bumpversion
401401 - id : pr-metadata
402402 run : >
403- uvx --no-progress 'repomatic==6.10.0' pr-body --output-format github-actions
403+ uvx --no-progress --from . repomatic pr-body --output-format github-actions
404404 --template sync-bumpversion
405405 --output "$GITHUB_OUTPUT"
406406 - uses : peter-evans/create-pull-request@c0f553fe549906ede9cf27b5156039d195d2ece0 # v8.1.0
@@ -429,10 +429,10 @@ jobs:
429429 fetch-depth : 0
430430 - uses : astral-sh/setup-uv@6ee6290f1cbc4156c0bdd66691b2c144ef8df19a # v7.4.0
431431 - name : Sync .mailmap
432- run : uvx --no-progress 'repomatic==6.10.0' sync-mailmap --skip-if-missing
432+ run : uvx --no-progress --from . repomatic sync-mailmap --skip-if-missing
433433 - id : pr-metadata
434434 run : >
435- uvx --no-progress 'repomatic==6.10.0' pr-body --output-format github-actions
435+ uvx --no-progress --from . repomatic pr-body --output-format github-actions
436436 --template sync-mailmap
437437 --output "$GITHUB_OUTPUT"
438438 - uses : peter-evans/create-pull-request@c0f553fe549906ede9cf27b5156039d195d2ece0 # v8.1.0
@@ -460,14 +460,14 @@ jobs:
460460 - id : sync
461461 name : Sync uv.lock
462462 run : >
463- uvx --no-progress 'repomatic==6.10.0' sync-uv-lock
463+ uvx --no-progress --from . repomatic sync-uv-lock
464464 --no-table --release-notes
465465 --output "$GITHUB_OUTPUT" --output-format github-actions
466466 - id : pr-metadata
467467 env :
468468 REPOMATIC_DIFF_TABLE : ${{ steps.sync.outputs.diff_table }}
469469 run : >
470- uvx --no-progress 'repomatic==6.10.0' pr-body --output-format github-actions
470+ uvx --no-progress --from . repomatic pr-body --output-format github-actions
471471 --template sync-uv-lock
472472 --output "$GITHUB_OUTPUT"
473473 - uses : peter-evans/create-pull-request@c0f553fe549906ede9cf27b5156039d195d2ece0 # v8.1.0
@@ -497,10 +497,10 @@ jobs:
497497 - uses : astral-sh/setup-uv@6ee6290f1cbc4156c0bdd66691b2c144ef8df19a # v7.4.0
498498 - name : Generate graph
499499 # Package name and output path are auto-detected from pyproject.toml.
500- run : uvx --no-progress 'repomatic==6.10.0' update-deps-graph
500+ run : uvx --no-progress --from . repomatic update-deps-graph
501501 - id : pr-metadata
502502 run : >
503- uvx --no-progress 'repomatic==6.10.0' pr-body --output-format github-actions
503+ uvx --no-progress --from . repomatic pr-body --output-format github-actions
504504 --template update-deps-graph
505505 --output "$GITHUB_OUTPUT"
506506 - uses : peter-evans/create-pull-request@c0f553fe549906ede9cf27b5156039d195d2ece0 # v8.1.0
@@ -529,10 +529,10 @@ jobs:
529529 - uses : astral-sh/setup-uv@6ee6290f1cbc4156c0bdd66691b2c144ef8df19a # v7.4.0
530530 - name : Update docs
531531 # Runs sphinx-apidoc, converts RST stubs to MyST if applicable, then runs docs/docs_update.py.
532- run : uvx --no-progress 'repomatic==6.10.0' update-docs
532+ run : uvx --no-progress --from . repomatic update-docs
533533 - id : pr-metadata
534534 run : >
535- uvx --no-progress 'repomatic==6.10.0' pr-body --output-format github-actions
535+ uvx --no-progress --from . repomatic pr-body --output-format github-actions
536536 --template update-docs
537537 --output "$GITHUB_OUTPUT"
538538 - uses : peter-evans/create-pull-request@c0f553fe549906ede9cf27b5156039d195d2ece0 # v8.1.0
0 commit comments