3535 GH_TOKEN : ${{ secrets.REPOMATIC_PAT || github.token }}
3636 REPOMATIC_PAT : ${{ secrets.REPOMATIC_PAT }}
3737 HAS_VIRUSTOTAL_API_KEY : ${{ secrets.VIRUSTOTAL_API_KEY && 'true' || '' }}
38- run : uvx --no-progress 'repomatic==6.15.0' setup-guide
38+ run : uvx --no-progress --from . repomatic setup-guide
3939
4040 metadata :
4141 name : 🧬 Project metadata
4848 - name : Run repomatic metadata
4949 id : metadata
5050 run : >
51- uvx --no-progress 'repomatic==6.15.0' metadata
51+ uvx --no-progress --from . repomatic metadata
5252 --format github-json --output "$GITHUB_OUTPUT"
5353 gitignore_exists python_files pyproject_files json_files doc_files
5454 markdown_files is_python_project mailmap_exists
@@ -77,16 +77,16 @@ jobs:
7777 # Explicit list of files is provided, as autopep8 is not able to handle find files in ".github" subdirectory.
7878 env :
7979 PYTHON_FILES : ${{ fromJSON(needs.metadata.outputs.metadata).python_files }}
80- run : echo "${PYTHON_FILES}" | xargs uvx --no-progress 'repomatic==6.15.0' run autopep8 --
80+ run : echo "${PYTHON_FILES}" | xargs uvx --no-progress --from . repomatic run autopep8 --
8181 # XXX Ruff is planning to support linting and formatting in one unified command at one point.
8282 # See: https://github.com/astral-sh/ruff/issues/8232
8383 - name : Run Ruff
8484 run : |
85- uvx --no-progress 'repomatic==6.15.0' run ruff -- check --output-format github
86- uvx --no-progress 'repomatic==6.15.0' run ruff -- format --output-format github
85+ uvx --no-progress --from . repomatic run ruff -- check --output-format github
86+ uvx --no-progress --from . repomatic run ruff -- format --output-format github
8787 - id : pr-metadata
8888 run : >
89- uvx --no-progress 'repomatic==6.15.0' pr-body --output-format github-actions
89+ uvx --no-progress --from . repomatic pr-body --output-format github-actions
9090 --template format-python
9191 --output "$GITHUB_OUTPUT"
9292 - uses : peter-evans/create-pull-request@5f6978faf089d4d20b00c7766989d076bb2fc7f1 # v8.1.1
@@ -120,11 +120,11 @@ jobs:
120120 PYPROJECT_FILES : ${{ fromJSON(needs.metadata.outputs.metadata).pyproject_files }}
121121 run : |
122122 rc=0
123- echo "${PYPROJECT_FILES}" | xargs uvx --no-progress 'repomatic==6.15.0' run pyproject-fmt -- || rc=$?
123+ echo "${PYPROJECT_FILES}" | xargs uvx --no-progress --from . repomatic run pyproject-fmt -- || rc=$?
124124 [ "$rc" -eq 0 ] || [ "$rc" -eq 123 ] || exit "$rc"
125125 - id : pr-metadata
126126 run : >
127- uvx --no-progress 'repomatic==6.15.0' pr-body --output-format github-actions
127+ uvx --no-progress --from . repomatic pr-body --output-format github-actions
128128 --template format-pyproject
129129 --output "$GITHUB_OUTPUT"
130130 - uses : peter-evans/create-pull-request@5f6978faf089d4d20b00c7766989d076bb2fc7f1 # v8.1.1
@@ -157,7 +157,7 @@ jobs:
157157 - name : Auto-format Markdown
158158 env :
159159 MARKDOWN_FILES : ${{ fromJSON(needs.metadata.outputs.metadata).markdown_files }}
160- run : echo "${MARKDOWN_FILES}" | xargs -n1 uvx --no-progress 'repomatic==6.15.0' run mdformat --
160+ run : echo "${MARKDOWN_FILES}" | xargs -n1 uvx --no-progress --from . repomatic run mdformat --
161161 - name : Markdown fixes for Awesome Lists
162162 if : startsWith(github.event.repository.name, 'awesome-')
163163 # Remove forbidden TOC entries: https://github.com/sindresorhus/awesome-lint/blob/v2.2.2/rules/toc.js#L14-L18
@@ -172,7 +172,7 @@ jobs:
172172 -exec gawk -i inplace '!/^- \[(Contents|Contributing|Footnotes|Related Lists)\]\(#.+\)$/{print}' "{}" \;
173173 - id : pr-metadata
174174 run : >
175- uvx --no-progress 'repomatic==6.15.0' pr-body --output-format github-actions
175+ uvx --no-progress --from . repomatic pr-body --output-format github-actions
176176 --template format-markdown
177177 --output "$GITHUB_OUTPUT"
178178 - uses : peter-evans/create-pull-request@5f6978faf089d4d20b00c7766989d076bb2fc7f1 # v8.1.1
@@ -207,10 +207,10 @@ jobs:
207207 - name : Format shell scripts
208208 env :
209209 SHELL_FILES : ${{ fromJSON(needs.metadata.outputs.metadata).shfmt_files }}
210- run : echo "${SHELL_FILES}" | xargs uvx --no-progress 'repomatic==6.15.0' run shfmt --
210+ run : echo "${SHELL_FILES}" | xargs uvx --no-progress --from . repomatic run shfmt --
211211 - id : pr-metadata
212212 run : >
213- uvx --no-progress 'repomatic==6.15.0' pr-body --output-format github-actions
213+ uvx --no-progress --from . repomatic pr-body --output-format github-actions
214214 --template format-shell
215215 --output "$GITHUB_OUTPUT"
216216 - uses : peter-evans/create-pull-request@5f6978faf089d4d20b00c7766989d076bb2fc7f1 # v8.1.1
@@ -249,12 +249,12 @@ jobs:
249249 JSON_FILES : ${{ fromJSON(needs.metadata.outputs.metadata).json_files }}
250250 run : |
251251 echo "${JSON_FILES}" | xargs \
252- uvx --no-progress 'repomatic==6.15.0' run biome -- \
252+ uvx --no-progress --from . repomatic run biome -- \
253253 format --write --no-errors-on-unmatched \
254254 --json-parse-allow-comments=true --json-parse-allow-trailing-commas=true
255255 - id : pr-metadata
256256 run : >
257- uvx --no-progress 'repomatic==6.15.0' pr-body --output-format github-actions
257+ uvx --no-progress --from . repomatic pr-body --output-format github-actions
258258 --template format-json
259259 --output "$GITHUB_OUTPUT"
260260 - uses : peter-evans/create-pull-request@5f6978faf089d4d20b00c7766989d076bb2fc7f1 # v8.1.1
@@ -286,10 +286,10 @@ jobs:
286286 restore-keys : |
287287 repomatic-bin-${{ runner.os }}-${{ runner.arch }}-typos-
288288 - name : Fix typos
289- run : uvx --no-progress 'repomatic==6.15.0' run typos
289+ run : uvx --no-progress --from . repomatic run typos
290290 - id : pr-metadata
291291 run : >
292- uvx --no-progress 'repomatic==6.15.0' pr-body --output-format github-actions
292+ uvx --no-progress --from . repomatic pr-body --output-format github-actions
293293 --template fix-typos
294294 --output "$GITHUB_OUTPUT"
295295 - uses : peter-evans/create-pull-request@5f6978faf089d4d20b00c7766989d076bb2fc7f1 # v8.1.1
@@ -326,14 +326,14 @@ jobs:
326326 env :
327327 GH_TOKEN : ${{ secrets.REPOMATIC_PAT || github.token }}
328328 run : >
329- uvx --no-progress 'repomatic==6.15.0' fix-vulnerable-deps
329+ uvx --no-progress --from . repomatic fix-vulnerable-deps
330330 --repo "${{ github.repository }}"
331331 --output "$GITHUB_OUTPUT" --output-format github-actions
332332 - id : pr-metadata
333333 env :
334334 REPOMATIC_DIFF_TABLE : ${{ steps.fix.outputs.diff_table }}
335335 run : >
336- uvx --no-progress 'repomatic==6.15.0' pr-body --output-format github-actions
336+ uvx --no-progress --from . repomatic pr-body --output-format github-actions
337337 --template fix-vulnerable-deps
338338 --output "$GITHUB_OUTPUT"
339339 - uses : peter-evans/create-pull-request@5f6978faf089d4d20b00c7766989d076bb2fc7f1 # v8.1.1
@@ -358,11 +358,11 @@ jobs:
358358 - uses : astral-sh/setup-uv@6ee6290f1cbc4156c0bdd66691b2c144ef8df19a # v7.4.0
359359 - name : Sync repomatic-managed files
360360 run : >
361- uvx --no-progress 'repomatic==6.15.0' init
361+ uvx --no-progress --from . repomatic init
362362 --delete-unmodified --delete-excluded
363363 - id : pr-metadata
364364 run : >
365- uvx --no-progress 'repomatic==6.15.0' pr-body --output-format github-actions
365+ uvx --no-progress --from . repomatic pr-body --output-format github-actions
366366 --template sync-repomatic
367367 --output "$GITHUB_OUTPUT"
368368 - uses : peter-evans/create-pull-request@5f6978faf089d4d20b00c7766989d076bb2fc7f1 # v8.1.1
@@ -404,13 +404,13 @@ jobs:
404404 - name : Format images
405405 id : format
406406 run : >
407- uvx --no-progress 'repomatic==6.15.0' format-images
407+ uvx --no-progress --from . repomatic format-images
408408 --output "$GITHUB_OUTPUT" --output-format github-actions
409409 - id : pr-metadata
410410 env :
411411 GHA_PR_BODY_PREFIX : ${{ steps.format.outputs.markdown }}
412412 run : >
413- uvx --no-progress 'repomatic==6.15.0' pr-body --output-format github-actions
413+ uvx --no-progress --from . repomatic pr-body --output-format github-actions
414414 --template format-images
415415 --output "$GITHUB_OUTPUT"
416416 - uses : peter-evans/create-pull-request@5f6978faf089d4d20b00c7766989d076bb2fc7f1 # v8.1.1
@@ -439,10 +439,10 @@ jobs:
439439 - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
440440 - uses : astral-sh/setup-uv@6ee6290f1cbc4156c0bdd66691b2c144ef8df19a # v7.4.0
441441 - name : Sync .gitignore
442- run : uvx --no-progress 'repomatic==6.15.0' sync-gitignore
442+ run : uvx --no-progress --from . repomatic sync-gitignore
443443 - id : pr-metadata
444444 run : >
445- uvx --no-progress 'repomatic==6.15.0' pr-body --output-format github-actions
445+ uvx --no-progress --from . repomatic pr-body --output-format github-actions
446446 --template sync-gitignore
447447 --output "$GITHUB_OUTPUT"
448448 - uses : peter-evans/create-pull-request@5f6978faf089d4d20b00c7766989d076bb2fc7f1 # v8.1.1
@@ -469,10 +469,10 @@ jobs:
469469 - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
470470 - uses : astral-sh/setup-uv@6ee6290f1cbc4156c0bdd66691b2c144ef8df19a # v7.4.0
471471 - name : Sync bumpversion config
472- run : uvx --no-progress 'repomatic==6.15.0' sync-bumpversion
472+ run : uvx --no-progress --from . repomatic sync-bumpversion
473473 - id : pr-metadata
474474 run : >
475- uvx --no-progress 'repomatic==6.15.0' pr-body --output-format github-actions
475+ uvx --no-progress --from . repomatic pr-body --output-format github-actions
476476 --template sync-bumpversion
477477 --output "$GITHUB_OUTPUT"
478478 - uses : peter-evans/create-pull-request@5f6978faf089d4d20b00c7766989d076bb2fc7f1 # v8.1.1
@@ -502,10 +502,10 @@ jobs:
502502 fetch-depth : 0
503503 - uses : astral-sh/setup-uv@6ee6290f1cbc4156c0bdd66691b2c144ef8df19a # v7.4.0
504504 - name : Sync .mailmap
505- run : uvx --no-progress 'repomatic==6.15.0' sync-mailmap --skip-if-missing
505+ run : uvx --no-progress --from . repomatic sync-mailmap --skip-if-missing
506506 - id : pr-metadata
507507 run : >
508- uvx --no-progress 'repomatic==6.15.0' pr-body --output-format github-actions
508+ uvx --no-progress --from . repomatic pr-body --output-format github-actions
509509 --template sync-mailmap
510510 --output "$GITHUB_OUTPUT"
511511 - uses : peter-evans/create-pull-request@5f6978faf089d4d20b00c7766989d076bb2fc7f1 # v8.1.1
@@ -534,14 +534,14 @@ jobs:
534534 - id : sync
535535 name : Sync uv.lock
536536 run : >
537- uvx --no-progress 'repomatic==6.15.0' sync-uv-lock
537+ uvx --no-progress --from . repomatic sync-uv-lock
538538 --no-table --release-notes
539539 --output "$GITHUB_OUTPUT" --output-format github-actions
540540 - id : pr-metadata
541541 env :
542542 REPOMATIC_DIFF_TABLE : ${{ steps.sync.outputs.diff_table }}
543543 run : >
544- uvx --no-progress 'repomatic==6.15.0' pr-body --output-format github-actions
544+ uvx --no-progress --from . repomatic pr-body --output-format github-actions
545545 --template sync-uv-lock
546546 --output "$GITHUB_OUTPUT"
547547 - uses : peter-evans/create-pull-request@5f6978faf089d4d20b00c7766989d076bb2fc7f1 # v8.1.1
@@ -572,10 +572,10 @@ jobs:
572572 - uses : astral-sh/setup-uv@6ee6290f1cbc4156c0bdd66691b2c144ef8df19a # v7.4.0
573573 - name : Generate graph
574574 # Package name and output path are auto-detected from pyproject.toml.
575- run : uvx --no-progress 'repomatic==6.15.0' update-deps-graph
575+ run : uvx --no-progress --from . repomatic update-deps-graph
576576 - id : pr-metadata
577577 run : >
578- uvx --no-progress 'repomatic==6.15.0' pr-body --output-format github-actions
578+ uvx --no-progress --from . repomatic pr-body --output-format github-actions
579579 --template update-deps-graph
580580 --output "$GITHUB_OUTPUT"
581581 - uses : peter-evans/create-pull-request@5f6978faf089d4d20b00c7766989d076bb2fc7f1 # v8.1.1
@@ -605,10 +605,10 @@ jobs:
605605 - uses : astral-sh/setup-uv@6ee6290f1cbc4156c0bdd66691b2c144ef8df19a # v7.4.0
606606 - name : Update docs
607607 # Runs sphinx-apidoc, converts RST stubs to MyST if applicable, then runs docs/docs_update.py.
608- run : uvx --no-progress 'repomatic==6.15.0' update-docs
608+ run : uvx --no-progress --from . repomatic update-docs
609609 - id : pr-metadata
610610 run : >
611- uvx --no-progress 'repomatic==6.15.0' pr-body --output-format github-actions
611+ uvx --no-progress --from . repomatic pr-body --output-format github-actions
612612 --template update-docs
613613 --output "$GITHUB_OUTPUT"
614614 - uses : peter-evans/create-pull-request@5f6978faf089d4d20b00c7766989d076bb2fc7f1 # v8.1.1
0 commit comments