repomatic 6.18.2__tar.gz → 6.18.4__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {repomatic-6.18.2 → repomatic-6.18.4}/PKG-INFO +2 -2
- {repomatic-6.18.2 → repomatic-6.18.4}/pyproject.toml +9 -6
- {repomatic-6.18.2 → repomatic-6.18.4}/repomatic/__init__.py +2 -2
- {repomatic-6.18.2 → repomatic-6.18.4}/repomatic/config.py +5 -4
- {repomatic-6.18.2 → repomatic-6.18.4}/repomatic/data/autofix.yaml +40 -36
- {repomatic-6.18.2 → repomatic-6.18.4}/repomatic/data/changelog.yaml +13 -13
- {repomatic-6.18.2 → repomatic-6.18.4}/repomatic/data/debug.yaml +1 -1
- {repomatic-6.18.2 → repomatic-6.18.4}/repomatic/data/docs.yaml +3 -3
- {repomatic-6.18.2 → repomatic-6.18.4}/repomatic/data/labels.yaml +5 -5
- {repomatic-6.18.2 → repomatic-6.18.4}/repomatic/data/lint.yaml +7 -7
- {repomatic-6.18.2 → repomatic-6.18.4}/repomatic/data/release-publish-pypi-job.yaml +10 -4
- {repomatic-6.18.2 → repomatic-6.18.4}/repomatic/data/release.yaml +16 -12
- {repomatic-6.18.2 → repomatic-6.18.4}/repomatic/data/renovate.json5 +2 -2
- {repomatic-6.18.2 → repomatic-6.18.4}/repomatic/data/renovate.yaml +3 -3
- {repomatic-6.18.2 → repomatic-6.18.4}/repomatic/data/tests.yaml +1 -1
- {repomatic-6.18.2 → repomatic-6.18.4}/repomatic/data/unsubscribe.yaml +1 -1
- {repomatic-6.18.2 → repomatic-6.18.4}/repomatic/github/workflow_sync.py +6 -1
- {repomatic-6.18.2 → repomatic-6.18.4}/repomatic/init_project.py +18 -20
- {repomatic-6.18.2 → repomatic-6.18.4}/repomatic/metadata.py +14 -6
- {repomatic-6.18.2 → repomatic-6.18.4}/repomatic/pyproject.py +52 -0
- {repomatic-6.18.2 → repomatic-6.18.4}/repomatic/registry.py +21 -15
- {repomatic-6.18.2 → repomatic-6.18.4}/repomatic/release_prep.py +52 -16
- {repomatic-6.18.2 → repomatic-6.18.4}/repomatic/tool_runner.py +12 -12
- {repomatic-6.18.2 → repomatic-6.18.4}/repomatic/uv.py +5 -1
- {repomatic-6.18.2 → repomatic-6.18.4}/license +0 -0
- {repomatic-6.18.2 → repomatic-6.18.4}/readme.md +0 -0
- {repomatic-6.18.2 → repomatic-6.18.4}/repomatic/__main__.py +0 -0
- {repomatic-6.18.2 → repomatic-6.18.4}/repomatic/binary.py +0 -0
- {repomatic-6.18.2 → repomatic-6.18.4}/repomatic/broken_links.py +0 -0
- {repomatic-6.18.2 → repomatic-6.18.4}/repomatic/cache.py +0 -0
- {repomatic-6.18.2 → repomatic-6.18.4}/repomatic/changelog.py +0 -0
- {repomatic-6.18.2 → repomatic-6.18.4}/repomatic/checksums.py +0 -0
- {repomatic-6.18.2 → repomatic-6.18.4}/repomatic/cli.py +0 -0
- {repomatic-6.18.2 → repomatic-6.18.4}/repomatic/data/__init__.py +0 -0
- {repomatic-6.18.2 → repomatic-6.18.4}/repomatic/data/action-publish-pypi.yaml +0 -0
- {repomatic-6.18.2 → repomatic-6.18.4}/repomatic/data/agent-grunt-qa.md +0 -0
- {repomatic-6.18.2 → repomatic-6.18.4}/repomatic/data/agent-qa-engineer.md +0 -0
- {repomatic-6.18.2 → repomatic-6.18.4}/repomatic/data/agent-sphinx-docs.md +0 -0
- {repomatic-6.18.2 → repomatic-6.18.4}/repomatic/data/autolock.yaml +0 -0
- {repomatic-6.18.2 → repomatic-6.18.4}/repomatic/data/awesome_template/.github/ISSUE_TEMPLATE/config.yml +0 -0
- {repomatic-6.18.2 → repomatic-6.18.4}/repomatic/data/awesome_template/.github/ISSUE_TEMPLATE/new-link.yaml +0 -0
- {repomatic-6.18.2 → repomatic-6.18.4}/repomatic/data/awesome_template/.github/code-of-conduct.md +0 -0
- {repomatic-6.18.2 → repomatic-6.18.4}/repomatic/data/awesome_template/.github/contributing.md +0 -0
- {repomatic-6.18.2 → repomatic-6.18.4}/repomatic/data/awesome_template/.github/contributing.zh.md +0 -0
- {repomatic-6.18.2 → repomatic-6.18.4}/repomatic/data/awesome_template/.github/funding.yml +0 -0
- {repomatic-6.18.2 → repomatic-6.18.4}/repomatic/data/awesome_template/.github/pull_request_template.md +0 -0
- {repomatic-6.18.2 → repomatic-6.18.4}/repomatic/data/awesome_template/__init__.py +0 -0
- {repomatic-6.18.2 → repomatic-6.18.4}/repomatic/data/awesome_template/license +0 -0
- {repomatic-6.18.2 → repomatic-6.18.4}/repomatic/data/bumpversion.toml +0 -0
- {repomatic-6.18.2 → repomatic-6.18.4}/repomatic/data/cancel-runs.yaml +0 -0
- {repomatic-6.18.2 → repomatic-6.18.4}/repomatic/data/codecov.yaml +0 -0
- {repomatic-6.18.2 → repomatic-6.18.4}/repomatic/data/labeller-content-based.yaml +0 -0
- {repomatic-6.18.2 → repomatic-6.18.4}/repomatic/data/labeller-file-based.yaml +0 -0
- {repomatic-6.18.2 → repomatic-6.18.4}/repomatic/data/labels.toml +0 -0
- {repomatic-6.18.2 → repomatic-6.18.4}/repomatic/data/lychee.toml +0 -0
- {repomatic-6.18.2 → repomatic-6.18.4}/repomatic/data/mdformat.toml +0 -0
- {repomatic-6.18.2 → repomatic-6.18.4}/repomatic/data/mypy.toml +0 -0
- {repomatic-6.18.2 → repomatic-6.18.4}/repomatic/data/pytest.toml +0 -0
- {repomatic-6.18.2 → repomatic-6.18.4}/repomatic/data/ruff.toml +0 -0
- {repomatic-6.18.2 → repomatic-6.18.4}/repomatic/data/skill-av-false-positive.md +0 -0
- {repomatic-6.18.2 → repomatic-6.18.4}/repomatic/data/skill-awesome-triage.md +0 -0
- {repomatic-6.18.2 → repomatic-6.18.4}/repomatic/data/skill-babysit-ci.md +0 -0
- {repomatic-6.18.2 → repomatic-6.18.4}/repomatic/data/skill-benchmark-update.md +0 -0
- {repomatic-6.18.2 → repomatic-6.18.4}/repomatic/data/skill-brand-assets.md +0 -0
- {repomatic-6.18.2 → repomatic-6.18.4}/repomatic/data/skill-file-bug-report.md +0 -0
- {repomatic-6.18.2 → repomatic-6.18.4}/repomatic/data/skill-repomatic-audit.md +0 -0
- {repomatic-6.18.2 → repomatic-6.18.4}/repomatic/data/skill-repomatic-changelog.md +0 -0
- {repomatic-6.18.2 → repomatic-6.18.4}/repomatic/data/skill-repomatic-deps.md +0 -0
- {repomatic-6.18.2 → repomatic-6.18.4}/repomatic/data/skill-repomatic-init.md +0 -0
- {repomatic-6.18.2 → repomatic-6.18.4}/repomatic/data/skill-repomatic-lint.md +0 -0
- {repomatic-6.18.2 → repomatic-6.18.4}/repomatic/data/skill-repomatic-release.md +0 -0
- {repomatic-6.18.2 → repomatic-6.18.4}/repomatic/data/skill-repomatic-sync.md +0 -0
- {repomatic-6.18.2 → repomatic-6.18.4}/repomatic/data/skill-repomatic-test.md +0 -0
- {repomatic-6.18.2 → repomatic-6.18.4}/repomatic/data/skill-repomatic-topics.md +0 -0
- {repomatic-6.18.2 → repomatic-6.18.4}/repomatic/data/skill-sphinx-docs-sync.md +0 -0
- {repomatic-6.18.2 → repomatic-6.18.4}/repomatic/data/skill-translation-sync.md +0 -0
- {repomatic-6.18.2 → repomatic-6.18.4}/repomatic/data/skill-upstream-audit.md +0 -0
- {repomatic-6.18.2 → repomatic-6.18.4}/repomatic/data/typos.toml +0 -0
- {repomatic-6.18.2 → repomatic-6.18.4}/repomatic/data/yamllint.yaml +0 -0
- {repomatic-6.18.2 → repomatic-6.18.4}/repomatic/data/zizmor.yaml +0 -0
- {repomatic-6.18.2 → repomatic-6.18.4}/repomatic/deps_graph.py +0 -0
- {repomatic-6.18.2 → repomatic-6.18.4}/repomatic/git_ops.py +0 -0
- {repomatic-6.18.2 → repomatic-6.18.4}/repomatic/github/__init__.py +0 -0
- {repomatic-6.18.2 → repomatic-6.18.4}/repomatic/github/actions.py +0 -0
- {repomatic-6.18.2 → repomatic-6.18.4}/repomatic/github/advisories.py +0 -0
- {repomatic-6.18.2 → repomatic-6.18.4}/repomatic/github/dev_release.py +0 -0
- {repomatic-6.18.2 → repomatic-6.18.4}/repomatic/github/gh.py +0 -0
- {repomatic-6.18.2 → repomatic-6.18.4}/repomatic/github/issue.py +0 -0
- {repomatic-6.18.2 → repomatic-6.18.4}/repomatic/github/matrix.py +0 -0
- {repomatic-6.18.2 → repomatic-6.18.4}/repomatic/github/pr_body.py +0 -0
- {repomatic-6.18.2 → repomatic-6.18.4}/repomatic/github/release_sync.py +0 -0
- {repomatic-6.18.2 → repomatic-6.18.4}/repomatic/github/releases.py +0 -0
- {repomatic-6.18.2 → repomatic-6.18.4}/repomatic/github/token.py +0 -0
- {repomatic-6.18.2 → repomatic-6.18.4}/repomatic/github/unsubscribe.py +0 -0
- {repomatic-6.18.2 → repomatic-6.18.4}/repomatic/images.py +0 -0
- {repomatic-6.18.2 → repomatic-6.18.4}/repomatic/lint_repo.py +0 -0
- {repomatic-6.18.2 → repomatic-6.18.4}/repomatic/mailmap.py +0 -0
- {repomatic-6.18.2 → repomatic-6.18.4}/repomatic/myst_converter.py +0 -0
- {repomatic-6.18.2 → repomatic-6.18.4}/repomatic/myst_docstrings.py +0 -0
- {repomatic-6.18.2 → repomatic-6.18.4}/repomatic/py.typed +0 -0
- {repomatic-6.18.2 → repomatic-6.18.4}/repomatic/pypi.py +0 -0
- {repomatic-6.18.2 → repomatic-6.18.4}/repomatic/renovate.py +0 -0
- {repomatic-6.18.2 → repomatic-6.18.4}/repomatic/rst_to_myst.py +0 -0
- {repomatic-6.18.2 → repomatic-6.18.4}/repomatic/sponsor.py +0 -0
- {repomatic-6.18.2 → repomatic-6.18.4}/repomatic/templates/__init__.py +0 -0
- {repomatic-6.18.2 → repomatic-6.18.4}/repomatic/templates/available-admonition.md +0 -0
- {repomatic-6.18.2 → repomatic-6.18.4}/repomatic/templates/broken-links-issue.md +0 -0
- {repomatic-6.18.2 → repomatic-6.18.4}/repomatic/templates/bump-version.md +0 -0
- {repomatic-6.18.2 → repomatic-6.18.4}/repomatic/templates/detect-squash-merge.md +0 -0
- {repomatic-6.18.2 → repomatic-6.18.4}/repomatic/templates/development-warning.md +0 -0
- {repomatic-6.18.2 → repomatic-6.18.4}/repomatic/templates/fix-changelog.md +0 -0
- {repomatic-6.18.2 → repomatic-6.18.4}/repomatic/templates/fix-typos.md +0 -0
- {repomatic-6.18.2 → repomatic-6.18.4}/repomatic/templates/fix-vulnerable-deps.md +0 -0
- {repomatic-6.18.2 → repomatic-6.18.4}/repomatic/templates/format-images.md +0 -0
- {repomatic-6.18.2 → repomatic-6.18.4}/repomatic/templates/format-json.md +0 -0
- {repomatic-6.18.2 → repomatic-6.18.4}/repomatic/templates/format-markdown.md +0 -0
- {repomatic-6.18.2 → repomatic-6.18.4}/repomatic/templates/format-pyproject.md +0 -0
- {repomatic-6.18.2 → repomatic-6.18.4}/repomatic/templates/format-python.md +0 -0
- {repomatic-6.18.2 → repomatic-6.18.4}/repomatic/templates/format-shell.md +0 -0
- {repomatic-6.18.2 → repomatic-6.18.4}/repomatic/templates/generated-footer.md +0 -0
- {repomatic-6.18.2 → repomatic-6.18.4}/repomatic/templates/github-releases.md +0 -0
- {repomatic-6.18.2 → repomatic-6.18.4}/repomatic/templates/immutable-releases.md +0 -0
- {repomatic-6.18.2 → repomatic-6.18.4}/repomatic/templates/pr-metadata.md.noformat +0 -0
- {repomatic-6.18.2 → repomatic-6.18.4}/repomatic/templates/prepare-release.md +0 -0
- {repomatic-6.18.2 → repomatic-6.18.4}/repomatic/templates/refresh-tip.md +0 -0
- {repomatic-6.18.2 → repomatic-6.18.4}/repomatic/templates/release-notes.md +0 -0
- {repomatic-6.18.2 → repomatic-6.18.4}/repomatic/templates/release-sync-report.md +0 -0
- {repomatic-6.18.2 → repomatic-6.18.4}/repomatic/templates/renovate-migration.md +0 -0
- {repomatic-6.18.2 → repomatic-6.18.4}/repomatic/templates/setup-guide-branch-ruleset.md +0 -0
- {repomatic-6.18.2 → repomatic-6.18.4}/repomatic/templates/setup-guide-dependabot.md +0 -0
- {repomatic-6.18.2 → repomatic-6.18.4}/repomatic/templates/setup-guide-fork-pr-approval.md +0 -0
- {repomatic-6.18.2 → repomatic-6.18.4}/repomatic/templates/setup-guide-pages-source.md +0 -0
- {repomatic-6.18.2 → repomatic-6.18.4}/repomatic/templates/setup-guide-pypi-trusted-publisher.md +0 -0
- {repomatic-6.18.2 → repomatic-6.18.4}/repomatic/templates/setup-guide-token.md +0 -0
- {repomatic-6.18.2 → repomatic-6.18.4}/repomatic/templates/setup-guide-verify.md +0 -0
- {repomatic-6.18.2 → repomatic-6.18.4}/repomatic/templates/setup-guide-virustotal.md +0 -0
- {repomatic-6.18.2 → repomatic-6.18.4}/repomatic/templates/setup-guide.md +0 -0
- {repomatic-6.18.2 → repomatic-6.18.4}/repomatic/templates/sync-bumpversion.md +0 -0
- {repomatic-6.18.2 → repomatic-6.18.4}/repomatic/templates/sync-gitignore.md +0 -0
- {repomatic-6.18.2 → repomatic-6.18.4}/repomatic/templates/sync-mailmap.md +0 -0
- {repomatic-6.18.2 → repomatic-6.18.4}/repomatic/templates/sync-repomatic.md +0 -0
- {repomatic-6.18.2 → repomatic-6.18.4}/repomatic/templates/sync-uv-lock.md +0 -0
- {repomatic-6.18.2 → repomatic-6.18.4}/repomatic/templates/unavailable-admonition.md +0 -0
- {repomatic-6.18.2 → repomatic-6.18.4}/repomatic/templates/unsubscribe-phase1.md +0 -0
- {repomatic-6.18.2 → repomatic-6.18.4}/repomatic/templates/unsubscribe-phase2.md +0 -0
- {repomatic-6.18.2 → repomatic-6.18.4}/repomatic/templates/update-deps-graph.md +0 -0
- {repomatic-6.18.2 → repomatic-6.18.4}/repomatic/templates/update-docs.md +0 -0
- {repomatic-6.18.2 → repomatic-6.18.4}/repomatic/templates/yanked-admonition.md +0 -0
- {repomatic-6.18.2 → repomatic-6.18.4}/repomatic/test_matrix.py +0 -0
- {repomatic-6.18.2 → repomatic-6.18.4}/repomatic/test_plan.py +0 -0
- {repomatic-6.18.2 → repomatic-6.18.4}/repomatic/virustotal.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: repomatic
|
|
3
|
-
Version: 6.18.
|
|
3
|
+
Version: 6.18.4
|
|
4
4
|
Summary: 🏭 Automate repository maintenance, releases, and CI/CD workflows
|
|
5
5
|
Keywords: changelog-formatter,dependabot-alternative,github-actions,github-labels,github-workflow,gitignore,mailmap,mypy,nuitka,python-automation,release-automation,renovate,repository-automation,repository-management,reusable-workflows,software-factory,sphinx-doc,typo,uv,workflow-reusable
|
|
6
6
|
Author: Kevin Deldycke
|
|
@@ -60,7 +60,7 @@ Requires-Dist: wcmatch>=10
|
|
|
60
60
|
Requires-Python: >=3.10
|
|
61
61
|
Project-URL: Changelog, https://github.com/kdeldycke/repomatic/blob/main/changelog.md
|
|
62
62
|
Project-URL: Documentation, https://kdeldycke.github.io/repomatic
|
|
63
|
-
Project-URL: Download, https://github.com/kdeldycke/repomatic/releases/tag/v6.18.
|
|
63
|
+
Project-URL: Download, https://github.com/kdeldycke/repomatic/releases/tag/v6.18.4
|
|
64
64
|
Project-URL: Funding, https://github.com/sponsors/kdeldycke
|
|
65
65
|
Project-URL: Homepage, https://github.com/kdeldycke/repomatic
|
|
66
66
|
Project-URL: Issues, https://github.com/kdeldycke/repomatic/issues
|
|
@@ -5,7 +5,7 @@ requires = [ "uv-build>=0.9" ]
|
|
|
5
5
|
[project]
|
|
6
6
|
# Docs: https://packaging.python.org/en/latest/guides/writing-pyproject-toml/
|
|
7
7
|
name = "repomatic"
|
|
8
|
-
version = "6.18.
|
|
8
|
+
version = "6.18.4"
|
|
9
9
|
description = "🏭 Automate repository maintenance, releases, and CI/CD workflows"
|
|
10
10
|
readme = "readme.md"
|
|
11
11
|
keywords = [
|
|
@@ -124,7 +124,7 @@ repomatic = "repomatic.__main__:main"
|
|
|
124
124
|
[project.urls]
|
|
125
125
|
"Changelog" = "https://github.com/kdeldycke/repomatic/blob/main/changelog.md"
|
|
126
126
|
"Documentation" = "https://kdeldycke.github.io/repomatic"
|
|
127
|
-
"Download" = "https://github.com/kdeldycke/repomatic/releases/tag/v6.18.
|
|
127
|
+
"Download" = "https://github.com/kdeldycke/repomatic/releases/tag/v6.18.4"
|
|
128
128
|
"Funding" = "https://github.com/sponsors/kdeldycke"
|
|
129
129
|
"Homepage" = "https://github.com/kdeldycke/repomatic"
|
|
130
130
|
"Issues" = "https://github.com/kdeldycke/repomatic/issues"
|
|
@@ -187,10 +187,13 @@ dependency-groups.docs = { requires-python = ">= 3.14" }
|
|
|
187
187
|
# uv.lock for relative spans, so re-resolving never produces churn.
|
|
188
188
|
exclude-newer = "1 week"
|
|
189
189
|
# repomatic is pinned to git main.
|
|
190
|
-
#
|
|
191
|
-
# (https://github.com/
|
|
190
|
+
# Nuitka 4.1 fixes uv_build backend recognition
|
|
191
|
+
# (https://github.com/Nuitka/Nuitka/issues/3750): bypass the cooldown so the
|
|
192
192
|
# fix lands without waiting a week.
|
|
193
|
-
|
|
193
|
+
# GitPython 3.1.50 patches CVE-2026-42215 bypass (newline injection in
|
|
194
|
+
# config_writer section parameter): bypass the cooldown to pull the security
|
|
195
|
+
# fix immediately.
|
|
196
|
+
exclude-newer-package = { nuitka = "0 day", repomatic = "0 day" }
|
|
194
197
|
# Package is at root level, not in "./src/".
|
|
195
198
|
build-backend.module-root = ""
|
|
196
199
|
|
|
@@ -275,7 +278,7 @@ run.source = [ "repomatic" ]
|
|
|
275
278
|
report.precision = 2
|
|
276
279
|
|
|
277
280
|
[tool.bumpversion]
|
|
278
|
-
current_version = "6.18.
|
|
281
|
+
current_version = "6.18.4"
|
|
279
282
|
allow_dirty = true
|
|
280
283
|
ignore_missing_files = true
|
|
281
284
|
# Parse versions with an optional .devN suffix (PEP 440).
|
|
@@ -486,10 +486,11 @@ class Config:
|
|
|
486
486
|
|
|
487
487
|
Use this to opt into components that are excluded by default (`labels`,
|
|
488
488
|
`skills`). Each entry is subtracted from the effective exclude set
|
|
489
|
-
(defaults + user `exclude`) and bypasses `RepoScope` filtering,
|
|
490
|
-
|
|
491
|
-
regardless of repository type.
|
|
492
|
-
implicitly select the parent
|
|
489
|
+
(defaults + user `exclude`) and bypasses `RepoScope` filtering, so
|
|
490
|
+
scope-restricted components (like awesome-only skills or Python-only
|
|
491
|
+
`publish-pypi-action`) are included regardless of repository type.
|
|
492
|
+
Qualified entries (`component/file`) implicitly select the parent
|
|
493
|
+
component. Same syntax as `exclude`.
|
|
493
494
|
"""
|
|
494
495
|
|
|
495
496
|
labels: LabelsConfig = field(
|
|
@@ -22,8 +22,12 @@ jobs:
|
|
|
22
22
|
|
|
23
23
|
setup-guide:
|
|
24
24
|
name: 📖 Setup guide
|
|
25
|
-
#
|
|
26
|
-
|
|
25
|
+
# Run on push to the default branch and on manual workflow_dispatch
|
|
26
|
+
# re-runs. Not gated against workflow_call invocations from downstream
|
|
27
|
+
# callers: when called that way the job runs in the caller's repo
|
|
28
|
+
# context (via GITHUB_REPOSITORY) and manages the caller's own
|
|
29
|
+
# setup-guide issue.
|
|
30
|
+
if: github.event_name == 'push' || github.event_name == 'workflow_dispatch'
|
|
27
31
|
runs-on: ubuntu-slim
|
|
28
32
|
permissions:
|
|
29
33
|
issues: write
|
|
@@ -35,7 +39,7 @@ jobs:
|
|
|
35
39
|
GH_TOKEN: ${{ secrets.REPOMATIC_PAT || github.token }}
|
|
36
40
|
REPOMATIC_PAT: ${{ secrets.REPOMATIC_PAT }}
|
|
37
41
|
HAS_VIRUSTOTAL_API_KEY: ${{ secrets.VIRUSTOTAL_API_KEY && 'true' || '' }}
|
|
38
|
-
run: uvx --no-progress 'repomatic==6.18.
|
|
42
|
+
run: uvx --no-progress 'repomatic==6.18.4' setup-guide
|
|
39
43
|
|
|
40
44
|
metadata:
|
|
41
45
|
name: 🧬 Project metadata
|
|
@@ -48,7 +52,7 @@ jobs:
|
|
|
48
52
|
- name: Run repomatic metadata
|
|
49
53
|
id: metadata
|
|
50
54
|
run: >
|
|
51
|
-
uvx --no-progress 'repomatic==6.18.
|
|
55
|
+
uvx --no-progress 'repomatic==6.18.4' metadata
|
|
52
56
|
--format github-json --output "$GITHUB_OUTPUT"
|
|
53
57
|
gitignore_exists python_files pyproject_files json_files doc_files
|
|
54
58
|
markdown_files is_python_project mailmap_exists
|
|
@@ -77,16 +81,16 @@ jobs:
|
|
|
77
81
|
# Explicit list of files is provided, as autopep8 is not able to handle find files in ".github" subdirectory.
|
|
78
82
|
env:
|
|
79
83
|
PYTHON_FILES: ${{ fromJSON(needs.metadata.outputs.metadata).python_files }}
|
|
80
|
-
run: echo "${PYTHON_FILES}" | xargs uvx --no-progress 'repomatic==6.18.
|
|
84
|
+
run: echo "${PYTHON_FILES}" | xargs uvx --no-progress 'repomatic==6.18.4' run autopep8 --
|
|
81
85
|
# XXX Ruff is planning to support linting and formatting in one unified command at one point.
|
|
82
86
|
# See: https://github.com/astral-sh/ruff/issues/8232
|
|
83
87
|
- name: Run Ruff
|
|
84
88
|
run: |
|
|
85
|
-
uvx --no-progress 'repomatic==6.18.
|
|
86
|
-
uvx --no-progress 'repomatic==6.18.
|
|
89
|
+
uvx --no-progress 'repomatic==6.18.4' run ruff -- check --output-format github
|
|
90
|
+
uvx --no-progress 'repomatic==6.18.4' run ruff -- format --output-format github
|
|
87
91
|
- id: pr-metadata
|
|
88
92
|
run: >
|
|
89
|
-
uvx --no-progress 'repomatic==6.18.
|
|
93
|
+
uvx --no-progress 'repomatic==6.18.4' pr-body --output-format github-actions
|
|
90
94
|
--template format-python
|
|
91
95
|
--output "$GITHUB_OUTPUT"
|
|
92
96
|
- uses: peter-evans/create-pull-request@5f6978faf089d4d20b00c7766989d076bb2fc7f1 # v8.1.1
|
|
@@ -120,11 +124,11 @@ jobs:
|
|
|
120
124
|
PYPROJECT_FILES: ${{ fromJSON(needs.metadata.outputs.metadata).pyproject_files }}
|
|
121
125
|
run: |
|
|
122
126
|
rc=0
|
|
123
|
-
echo "${PYPROJECT_FILES}" | xargs uvx --no-progress 'repomatic==6.18.
|
|
127
|
+
echo "${PYPROJECT_FILES}" | xargs uvx --no-progress 'repomatic==6.18.4' run pyproject-fmt -- || rc=$?
|
|
124
128
|
[ "$rc" -eq 0 ] || [ "$rc" -eq 123 ] || exit "$rc"
|
|
125
129
|
- id: pr-metadata
|
|
126
130
|
run: >
|
|
127
|
-
uvx --no-progress 'repomatic==6.18.
|
|
131
|
+
uvx --no-progress 'repomatic==6.18.4' pr-body --output-format github-actions
|
|
128
132
|
--template format-pyproject
|
|
129
133
|
--output "$GITHUB_OUTPUT"
|
|
130
134
|
- uses: peter-evans/create-pull-request@5f6978faf089d4d20b00c7766989d076bb2fc7f1 # v8.1.1
|
|
@@ -157,7 +161,7 @@ jobs:
|
|
|
157
161
|
- name: Auto-format Markdown
|
|
158
162
|
env:
|
|
159
163
|
MARKDOWN_FILES: ${{ fromJSON(needs.metadata.outputs.metadata).markdown_files }}
|
|
160
|
-
run: echo "${MARKDOWN_FILES}" | xargs -n1 uvx --no-progress 'repomatic==6.18.
|
|
164
|
+
run: echo "${MARKDOWN_FILES}" | xargs -n1 uvx --no-progress 'repomatic==6.18.4' run mdformat --
|
|
161
165
|
- name: Markdown fixes for Awesome Lists
|
|
162
166
|
if: startsWith(github.event.repository.name, 'awesome-')
|
|
163
167
|
# Remove forbidden TOC entries: https://github.com/sindresorhus/awesome-lint/blob/v2.2.2/rules/toc.js#L14-L18
|
|
@@ -172,7 +176,7 @@ jobs:
|
|
|
172
176
|
-exec gawk -i inplace '!/^- \[(Contents|Contributing|Footnotes|Related Lists)\]\(#.+\)$/{print}' "{}" \;
|
|
173
177
|
- id: pr-metadata
|
|
174
178
|
run: >
|
|
175
|
-
uvx --no-progress 'repomatic==6.18.
|
|
179
|
+
uvx --no-progress 'repomatic==6.18.4' pr-body --output-format github-actions
|
|
176
180
|
--template format-markdown
|
|
177
181
|
--output "$GITHUB_OUTPUT"
|
|
178
182
|
- uses: peter-evans/create-pull-request@5f6978faf089d4d20b00c7766989d076bb2fc7f1 # v8.1.1
|
|
@@ -207,10 +211,10 @@ jobs:
|
|
|
207
211
|
- name: Format shell scripts
|
|
208
212
|
env:
|
|
209
213
|
SHELL_FILES: ${{ fromJSON(needs.metadata.outputs.metadata).shfmt_files }}
|
|
210
|
-
run: echo "${SHELL_FILES}" | xargs uvx --no-progress 'repomatic==6.18.
|
|
214
|
+
run: echo "${SHELL_FILES}" | xargs uvx --no-progress 'repomatic==6.18.4' run shfmt --
|
|
211
215
|
- id: pr-metadata
|
|
212
216
|
run: >
|
|
213
|
-
uvx --no-progress 'repomatic==6.18.
|
|
217
|
+
uvx --no-progress 'repomatic==6.18.4' pr-body --output-format github-actions
|
|
214
218
|
--template format-shell
|
|
215
219
|
--output "$GITHUB_OUTPUT"
|
|
216
220
|
- uses: peter-evans/create-pull-request@5f6978faf089d4d20b00c7766989d076bb2fc7f1 # v8.1.1
|
|
@@ -249,12 +253,12 @@ jobs:
|
|
|
249
253
|
JSON_FILES: ${{ fromJSON(needs.metadata.outputs.metadata).json_files }}
|
|
250
254
|
run: |
|
|
251
255
|
echo "${JSON_FILES}" | xargs \
|
|
252
|
-
uvx --no-progress 'repomatic==6.18.
|
|
256
|
+
uvx --no-progress 'repomatic==6.18.4' run biome -- \
|
|
253
257
|
format --write --no-errors-on-unmatched \
|
|
254
258
|
--json-parse-allow-comments=true --json-parse-allow-trailing-commas=true
|
|
255
259
|
- id: pr-metadata
|
|
256
260
|
run: >
|
|
257
|
-
uvx --no-progress 'repomatic==6.18.
|
|
261
|
+
uvx --no-progress 'repomatic==6.18.4' pr-body --output-format github-actions
|
|
258
262
|
--template format-json
|
|
259
263
|
--output "$GITHUB_OUTPUT"
|
|
260
264
|
- uses: peter-evans/create-pull-request@5f6978faf089d4d20b00c7766989d076bb2fc7f1 # v8.1.1
|
|
@@ -286,10 +290,10 @@ jobs:
|
|
|
286
290
|
restore-keys: |
|
|
287
291
|
repomatic-bin-${{ runner.os }}-${{ runner.arch }}-typos-
|
|
288
292
|
- name: Fix typos
|
|
289
|
-
run: uvx --no-progress 'repomatic==6.18.
|
|
293
|
+
run: uvx --no-progress 'repomatic==6.18.4' run typos
|
|
290
294
|
- id: pr-metadata
|
|
291
295
|
run: >
|
|
292
|
-
uvx --no-progress 'repomatic==6.18.
|
|
296
|
+
uvx --no-progress 'repomatic==6.18.4' pr-body --output-format github-actions
|
|
293
297
|
--template fix-typos
|
|
294
298
|
--output "$GITHUB_OUTPUT"
|
|
295
299
|
- uses: peter-evans/create-pull-request@5f6978faf089d4d20b00c7766989d076bb2fc7f1 # v8.1.1
|
|
@@ -326,14 +330,14 @@ jobs:
|
|
|
326
330
|
env:
|
|
327
331
|
GH_TOKEN: ${{ secrets.REPOMATIC_PAT || github.token }}
|
|
328
332
|
run: >
|
|
329
|
-
uvx --no-progress 'repomatic==6.18.
|
|
333
|
+
uvx --no-progress 'repomatic==6.18.4' fix-vulnerable-deps
|
|
330
334
|
--repo "${{ github.repository }}"
|
|
331
335
|
--output "$GITHUB_OUTPUT" --output-format github-actions
|
|
332
336
|
- id: pr-metadata
|
|
333
337
|
env:
|
|
334
338
|
REPOMATIC_DIFF_TABLE: ${{ steps.fix.outputs.diff_table }}
|
|
335
339
|
run: >
|
|
336
|
-
uvx --no-progress 'repomatic==6.18.
|
|
340
|
+
uvx --no-progress 'repomatic==6.18.4' pr-body --output-format github-actions
|
|
337
341
|
--template fix-vulnerable-deps
|
|
338
342
|
--output "$GITHUB_OUTPUT"
|
|
339
343
|
- uses: peter-evans/create-pull-request@5f6978faf089d4d20b00c7766989d076bb2fc7f1 # v8.1.1
|
|
@@ -358,11 +362,11 @@ jobs:
|
|
|
358
362
|
- uses: astral-sh/setup-uv@6ee6290f1cbc4156c0bdd66691b2c144ef8df19a # v7.4.0
|
|
359
363
|
- name: Sync repomatic-managed files
|
|
360
364
|
run: >
|
|
361
|
-
uvx --no-progress 'repomatic==6.18.
|
|
365
|
+
uvx --no-progress 'repomatic==6.18.4' init
|
|
362
366
|
--delete-unmodified --delete-excluded
|
|
363
367
|
- id: pr-metadata
|
|
364
368
|
run: >
|
|
365
|
-
uvx --no-progress 'repomatic==6.18.
|
|
369
|
+
uvx --no-progress 'repomatic==6.18.4' pr-body --output-format github-actions
|
|
366
370
|
--template sync-repomatic
|
|
367
371
|
--output "$GITHUB_OUTPUT"
|
|
368
372
|
- uses: peter-evans/create-pull-request@5f6978faf089d4d20b00c7766989d076bb2fc7f1 # v8.1.1
|
|
@@ -404,13 +408,13 @@ jobs:
|
|
|
404
408
|
- name: Format images
|
|
405
409
|
id: format
|
|
406
410
|
run: >
|
|
407
|
-
uvx --no-progress 'repomatic==6.18.
|
|
411
|
+
uvx --no-progress 'repomatic==6.18.4' format-images
|
|
408
412
|
--output "$GITHUB_OUTPUT" --output-format github-actions
|
|
409
413
|
- id: pr-metadata
|
|
410
414
|
env:
|
|
411
415
|
GHA_PR_BODY_PREFIX: ${{ steps.format.outputs.markdown }}
|
|
412
416
|
run: >
|
|
413
|
-
uvx --no-progress 'repomatic==6.18.
|
|
417
|
+
uvx --no-progress 'repomatic==6.18.4' pr-body --output-format github-actions
|
|
414
418
|
--template format-images
|
|
415
419
|
--output "$GITHUB_OUTPUT"
|
|
416
420
|
- uses: peter-evans/create-pull-request@5f6978faf089d4d20b00c7766989d076bb2fc7f1 # v8.1.1
|
|
@@ -439,10 +443,10 @@ jobs:
|
|
|
439
443
|
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
|
440
444
|
- uses: astral-sh/setup-uv@6ee6290f1cbc4156c0bdd66691b2c144ef8df19a # v7.4.0
|
|
441
445
|
- name: Sync .gitignore
|
|
442
|
-
run: uvx --no-progress 'repomatic==6.18.
|
|
446
|
+
run: uvx --no-progress 'repomatic==6.18.4' sync-gitignore
|
|
443
447
|
- id: pr-metadata
|
|
444
448
|
run: >
|
|
445
|
-
uvx --no-progress 'repomatic==6.18.
|
|
449
|
+
uvx --no-progress 'repomatic==6.18.4' pr-body --output-format github-actions
|
|
446
450
|
--template sync-gitignore
|
|
447
451
|
--output "$GITHUB_OUTPUT"
|
|
448
452
|
- uses: peter-evans/create-pull-request@5f6978faf089d4d20b00c7766989d076bb2fc7f1 # v8.1.1
|
|
@@ -469,10 +473,10 @@ jobs:
|
|
|
469
473
|
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
|
470
474
|
- uses: astral-sh/setup-uv@6ee6290f1cbc4156c0bdd66691b2c144ef8df19a # v7.4.0
|
|
471
475
|
- name: Sync bumpversion config
|
|
472
|
-
run: uvx --no-progress 'repomatic==6.18.
|
|
476
|
+
run: uvx --no-progress 'repomatic==6.18.4' sync-bumpversion
|
|
473
477
|
- id: pr-metadata
|
|
474
478
|
run: >
|
|
475
|
-
uvx --no-progress 'repomatic==6.18.
|
|
479
|
+
uvx --no-progress 'repomatic==6.18.4' pr-body --output-format github-actions
|
|
476
480
|
--template sync-bumpversion
|
|
477
481
|
--output "$GITHUB_OUTPUT"
|
|
478
482
|
- uses: peter-evans/create-pull-request@5f6978faf089d4d20b00c7766989d076bb2fc7f1 # v8.1.1
|
|
@@ -502,10 +506,10 @@ jobs:
|
|
|
502
506
|
fetch-depth: 0
|
|
503
507
|
- uses: astral-sh/setup-uv@6ee6290f1cbc4156c0bdd66691b2c144ef8df19a # v7.4.0
|
|
504
508
|
- name: Sync .mailmap
|
|
505
|
-
run: uvx --no-progress 'repomatic==6.18.
|
|
509
|
+
run: uvx --no-progress 'repomatic==6.18.4' sync-mailmap --skip-if-missing
|
|
506
510
|
- id: pr-metadata
|
|
507
511
|
run: >
|
|
508
|
-
uvx --no-progress 'repomatic==6.18.
|
|
512
|
+
uvx --no-progress 'repomatic==6.18.4' pr-body --output-format github-actions
|
|
509
513
|
--template sync-mailmap
|
|
510
514
|
--output "$GITHUB_OUTPUT"
|
|
511
515
|
- uses: peter-evans/create-pull-request@5f6978faf089d4d20b00c7766989d076bb2fc7f1 # v8.1.1
|
|
@@ -534,14 +538,14 @@ jobs:
|
|
|
534
538
|
- id: sync
|
|
535
539
|
name: Sync uv.lock
|
|
536
540
|
run: >
|
|
537
|
-
uvx --no-progress 'repomatic==6.18.
|
|
541
|
+
uvx --no-progress 'repomatic==6.18.4' sync-uv-lock
|
|
538
542
|
--no-table --release-notes
|
|
539
543
|
--output "$GITHUB_OUTPUT" --output-format github-actions
|
|
540
544
|
- id: pr-metadata
|
|
541
545
|
env:
|
|
542
546
|
REPOMATIC_DIFF_TABLE: ${{ steps.sync.outputs.diff_table }}
|
|
543
547
|
run: >
|
|
544
|
-
uvx --no-progress 'repomatic==6.18.
|
|
548
|
+
uvx --no-progress 'repomatic==6.18.4' pr-body --output-format github-actions
|
|
545
549
|
--template sync-uv-lock
|
|
546
550
|
--output "$GITHUB_OUTPUT"
|
|
547
551
|
- uses: peter-evans/create-pull-request@5f6978faf089d4d20b00c7766989d076bb2fc7f1 # v8.1.1
|
|
@@ -572,10 +576,10 @@ jobs:
|
|
|
572
576
|
- uses: astral-sh/setup-uv@6ee6290f1cbc4156c0bdd66691b2c144ef8df19a # v7.4.0
|
|
573
577
|
- name: Generate graph
|
|
574
578
|
# Package name and output path are auto-detected from pyproject.toml.
|
|
575
|
-
run: uvx --no-progress 'repomatic==6.18.
|
|
579
|
+
run: uvx --no-progress 'repomatic==6.18.4' update-deps-graph
|
|
576
580
|
- id: pr-metadata
|
|
577
581
|
run: >
|
|
578
|
-
uvx --no-progress 'repomatic==6.18.
|
|
582
|
+
uvx --no-progress 'repomatic==6.18.4' pr-body --output-format github-actions
|
|
579
583
|
--template update-deps-graph
|
|
580
584
|
--output "$GITHUB_OUTPUT"
|
|
581
585
|
- uses: peter-evans/create-pull-request@5f6978faf089d4d20b00c7766989d076bb2fc7f1 # v8.1.1
|
|
@@ -607,10 +611,10 @@ jobs:
|
|
|
607
611
|
- uses: astral-sh/setup-uv@6ee6290f1cbc4156c0bdd66691b2c144ef8df19a # v7.4.0
|
|
608
612
|
- name: Update docs
|
|
609
613
|
# Runs sphinx-apidoc, converts RST stubs to MyST if applicable, then runs docs/docs_update.py.
|
|
610
|
-
run: uvx --no-progress 'repomatic==6.18.
|
|
614
|
+
run: uvx --no-progress 'repomatic==6.18.4' update-docs
|
|
611
615
|
- id: pr-metadata
|
|
612
616
|
run: >
|
|
613
|
-
uvx --no-progress 'repomatic==6.18.
|
|
617
|
+
uvx --no-progress 'repomatic==6.18.4' pr-body --output-format github-actions
|
|
614
618
|
--template update-docs
|
|
615
619
|
--output "$GITHUB_OUTPUT"
|
|
616
620
|
- uses: peter-evans/create-pull-request@5f6978faf089d4d20b00c7766989d076bb2fc7f1 # v8.1.1
|
|
@@ -62,7 +62,7 @@ jobs:
|
|
|
62
62
|
- name: Run repomatic metadata
|
|
63
63
|
id: metadata
|
|
64
64
|
run: >
|
|
65
|
-
uvx --no-progress 'repomatic==6.18.
|
|
65
|
+
uvx --no-progress 'repomatic==6.18.4' metadata
|
|
66
66
|
--format github-json --output "$GITHUB_OUTPUT"
|
|
67
67
|
minor_bump_allowed major_bump_allowed release_commits_matrix
|
|
68
68
|
|
|
@@ -90,10 +90,10 @@ jobs:
|
|
|
90
90
|
- name: Fix changelog dates and admonitions
|
|
91
91
|
env:
|
|
92
92
|
GH_TOKEN: ${{ github.token }}
|
|
93
|
-
run: uvx --no-progress 'repomatic==6.18.
|
|
93
|
+
run: uvx --no-progress 'repomatic==6.18.4' lint-changelog --fix
|
|
94
94
|
- id: pr-metadata
|
|
95
95
|
run: >
|
|
96
|
-
uvx --no-progress 'repomatic==6.18.
|
|
96
|
+
uvx --no-progress 'repomatic==6.18.4' pr-body --output-format github-actions
|
|
97
97
|
--template fix-changelog
|
|
98
98
|
--output "$GITHUB_OUTPUT"
|
|
99
99
|
- uses: peter-evans/create-pull-request@5f6978faf089d4d20b00c7766989d076bb2fc7f1 # v8.1.1
|
|
@@ -135,14 +135,14 @@ jobs:
|
|
|
135
135
|
if: fromJSON(needs.metadata.outputs.metadata)[format('{0}_bump_allowed', matrix.part)]
|
|
136
136
|
- name: ${{ matrix.part }} version bump
|
|
137
137
|
if: fromJSON(needs.metadata.outputs.metadata)[format('{0}_bump_allowed', matrix.part)]
|
|
138
|
-
run: uvx --no-progress 'repomatic==6.18.
|
|
138
|
+
run: uvx --no-progress 'repomatic==6.18.4' run bump-my-version -- bump --verbose ${{ matrix.part }}
|
|
139
139
|
- name: Sync uv.lock
|
|
140
140
|
if: fromJSON(needs.metadata.outputs.metadata)[format('{0}_bump_allowed', matrix.part)]
|
|
141
141
|
run: uv --no-progress sync
|
|
142
142
|
- id: pr-metadata
|
|
143
143
|
if: fromJSON(needs.metadata.outputs.metadata)[format('{0}_bump_allowed', matrix.part)]
|
|
144
144
|
run: >
|
|
145
|
-
uvx --no-progress 'repomatic==6.18.
|
|
145
|
+
uvx --no-progress 'repomatic==6.18.4' pr-body --output-format github-actions
|
|
146
146
|
--template bump-version
|
|
147
147
|
--part "${{ matrix.part }}"
|
|
148
148
|
--output "$GITHUB_OUTPUT"
|
|
@@ -175,17 +175,17 @@ jobs:
|
|
|
175
175
|
# --- Freeze commit: freeze everything to the release version. ---
|
|
176
176
|
- name: Strip dev suffix for release
|
|
177
177
|
# Bump the "dev" part: .dev0 → release (omitted), producing a clean X.Y.Z version.
|
|
178
|
-
run: uvx --no-progress 'repomatic==6.18.
|
|
178
|
+
run: uvx --no-progress 'repomatic==6.18.4' run bump-my-version -- bump --verbose dev
|
|
179
179
|
- name: Extract version
|
|
180
180
|
id: get_version
|
|
181
181
|
run: >
|
|
182
182
|
echo "current_version=$(
|
|
183
|
-
uvx --no-progress 'repomatic==6.18.
|
|
183
|
+
uvx --no-progress 'repomatic==6.18.4' run bump-my-version -- show current_version
|
|
184
184
|
)" | tee -a "$GITHUB_OUTPUT"
|
|
185
185
|
- name: Prepare release
|
|
186
186
|
# Updates changelog and citation dates, comparison URL, and removes warning.
|
|
187
187
|
# Also hard-codes version in workflow URLs for kdeldycke/repomatic repository.
|
|
188
|
-
run: uvx --no-progress 'repomatic==6.18.
|
|
188
|
+
run: uvx --no-progress 'repomatic==6.18.4' release-prep
|
|
189
189
|
- name: Prepare repository
|
|
190
190
|
env:
|
|
191
191
|
GIT_AUTHOR: ${{ github.actor }}
|
|
@@ -201,11 +201,11 @@ jobs:
|
|
|
201
201
|
- name: Re-target main branch in workflows
|
|
202
202
|
# This step is only used in the original repository to automate remote URL tagging.
|
|
203
203
|
if: github.repository == 'kdeldycke/repomatic'
|
|
204
|
-
run: uvx --no-progress 'repomatic==6.18.
|
|
204
|
+
run: uvx --no-progress 'repomatic==6.18.4' release-prep --post-release
|
|
205
205
|
- name: Add new changelog entry
|
|
206
|
-
run: uvx --no-progress 'repomatic==6.18.
|
|
206
|
+
run: uvx --no-progress 'repomatic==6.18.4' changelog ./changelog.md
|
|
207
207
|
- name: Version bump
|
|
208
|
-
run: uvx --no-progress 'repomatic==6.18.
|
|
208
|
+
run: uvx --no-progress 'repomatic==6.18.4' run bump-my-version -- bump --verbose patch
|
|
209
209
|
- name: Sync uv.lock
|
|
210
210
|
run: uv --no-progress sync
|
|
211
211
|
- name: Create unfreeze commit
|
|
@@ -213,12 +213,12 @@ jobs:
|
|
|
213
213
|
CURRENT_VERSION: ${{ steps.get_version.outputs.current_version }}
|
|
214
214
|
run: >
|
|
215
215
|
git commit --all --message="[changelog] Post-release bump
|
|
216
|
-
v${CURRENT_VERSION} → v$(uvx --no-progress 'repomatic==6.18.
|
|
216
|
+
v${CURRENT_VERSION} → v$(uvx --no-progress 'repomatic==6.18.4' run bump-my-version -- show current_version)"
|
|
217
217
|
- id: pr-metadata
|
|
218
218
|
env:
|
|
219
219
|
CURRENT_VERSION: ${{ steps.get_version.outputs.current_version }}
|
|
220
220
|
run: >
|
|
221
|
-
uvx --no-progress 'repomatic==6.18.
|
|
221
|
+
uvx --no-progress 'repomatic==6.18.4' pr-body --output-format github-actions
|
|
222
222
|
--template prepare-release
|
|
223
223
|
--version "${CURRENT_VERSION}"
|
|
224
224
|
--output "$GITHUB_OUTPUT"
|
|
@@ -37,7 +37,7 @@ jobs:
|
|
|
37
37
|
- name: Run repomatic metadata
|
|
38
38
|
id: metadata
|
|
39
39
|
run: >
|
|
40
|
-
uvx --no-progress 'repomatic==6.18.
|
|
40
|
+
uvx --no-progress 'repomatic==6.18.4' --verbosity DEBUG metadata
|
|
41
41
|
--format github-json --output "$GITHUB_OUTPUT"
|
|
42
42
|
build_targets
|
|
43
43
|
- name: Extend matrix with ubuntu-slim
|
|
@@ -26,7 +26,7 @@ jobs:
|
|
|
26
26
|
- name: Run repomatic metadata
|
|
27
27
|
id: metadata
|
|
28
28
|
run: >
|
|
29
|
-
uvx --no-progress 'repomatic==6.18.
|
|
29
|
+
uvx --no-progress 'repomatic==6.18.4' metadata
|
|
30
30
|
--format github-json --output "$GITHUB_OUTPUT"
|
|
31
31
|
is_python_project is_sphinx doc_files
|
|
32
32
|
|
|
@@ -117,7 +117,7 @@ jobs:
|
|
|
117
117
|
run: |
|
|
118
118
|
exit_code=0
|
|
119
119
|
echo "${DOC_FILES}" | xargs \
|
|
120
|
-
uvx --no-progress 'repomatic==6.18.
|
|
120
|
+
uvx --no-progress 'repomatic==6.18.4' run lychee -- \
|
|
121
121
|
--format markdown --output ./lychee/out.md \
|
|
122
122
|
--hidden --suggest --no-progress --include-fragments --exclude-all-private \
|
|
123
123
|
|| exit_code=$?
|
|
@@ -127,5 +127,5 @@ jobs:
|
|
|
127
127
|
GH_TOKEN: ${{ github.token }}
|
|
128
128
|
LYCHEE_EXIT_CODE: ${{ steps.lychee_run.outputs.exit_code }}
|
|
129
129
|
run: |
|
|
130
|
-
uvx --no-progress 'repomatic==6.18.
|
|
130
|
+
uvx --no-progress 'repomatic==6.18.4' broken-links \
|
|
131
131
|
${LYCHEE_EXIT_CODE:+--lychee-exit-code "${LYCHEE_EXIT_CODE}"}
|
|
@@ -43,7 +43,7 @@ jobs:
|
|
|
43
43
|
- name: Sync labels
|
|
44
44
|
env:
|
|
45
45
|
GH_TOKEN: ${{ github.token }}
|
|
46
|
-
run: uvx --no-progress 'repomatic==6.18.
|
|
46
|
+
run: uvx --no-progress 'repomatic==6.18.4' sync-labels
|
|
47
47
|
|
|
48
48
|
metadata:
|
|
49
49
|
name: 🧬 Project metadata
|
|
@@ -58,7 +58,7 @@ jobs:
|
|
|
58
58
|
- name: Run repomatic metadata
|
|
59
59
|
id: metadata
|
|
60
60
|
run: >
|
|
61
|
-
uvx --no-progress 'repomatic==6.18.
|
|
61
|
+
uvx --no-progress 'repomatic==6.18.4' metadata
|
|
62
62
|
--format github-json --output "$GITHUB_OUTPUT"
|
|
63
63
|
is_bot
|
|
64
64
|
|
|
@@ -77,7 +77,7 @@ jobs:
|
|
|
77
77
|
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
|
78
78
|
- uses: astral-sh/setup-uv@6ee6290f1cbc4156c0bdd66691b2c144ef8df19a # v7.4.0
|
|
79
79
|
- name: Dump default rules
|
|
80
|
-
run: uvx --no-progress 'repomatic==6.18.
|
|
80
|
+
run: uvx --no-progress 'repomatic==6.18.4' init labels
|
|
81
81
|
- name: Apply rules
|
|
82
82
|
uses: actions/labeler@634933edcd8ababfe52f92936142cc22ac488b1b # v6.0.1
|
|
83
83
|
with:
|
|
@@ -99,7 +99,7 @@ jobs:
|
|
|
99
99
|
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
|
100
100
|
- uses: astral-sh/setup-uv@6ee6290f1cbc4156c0bdd66691b2c144ef8df19a # v7.4.0
|
|
101
101
|
- name: Dump default rules
|
|
102
|
-
run: uvx --no-progress 'repomatic==6.18.
|
|
102
|
+
run: uvx --no-progress 'repomatic==6.18.4' init labels
|
|
103
103
|
- name: Apply rules
|
|
104
104
|
uses: github/issue-labeler@c1b0f9f52a63158c4adc09425e858e87b32e9685 # v3.4
|
|
105
105
|
with:
|
|
@@ -124,4 +124,4 @@ jobs:
|
|
|
124
124
|
- name: Add sponsor label
|
|
125
125
|
env:
|
|
126
126
|
GH_TOKEN: ${{ github.token }}
|
|
127
|
-
run: uvx --no-progress 'repomatic==6.18.
|
|
127
|
+
run: uvx --no-progress 'repomatic==6.18.4' sponsor-label
|
|
@@ -37,7 +37,7 @@ jobs:
|
|
|
37
37
|
- name: Run repomatic metadata
|
|
38
38
|
id: metadata
|
|
39
39
|
run: >
|
|
40
|
-
uvx --no-progress 'repomatic==6.18.
|
|
40
|
+
uvx --no-progress 'repomatic==6.18.4' metadata
|
|
41
41
|
--format github-json --output "$GITHUB_OUTPUT"
|
|
42
42
|
is_bot python_files yaml_files workflow_files zsh_files
|
|
43
43
|
is_python_project
|
|
@@ -55,7 +55,7 @@ jobs:
|
|
|
55
55
|
GH_TOKEN: ${{ secrets.REPOMATIC_PAT || github.token }}
|
|
56
56
|
REPOMATIC_PAT: ${{ secrets.REPOMATIC_PAT }}
|
|
57
57
|
HAS_VIRUSTOTAL_API_KEY: ${{ secrets.VIRUSTOTAL_API_KEY && 'true' || '' }}
|
|
58
|
-
run: uvx --no-progress 'repomatic==6.18.
|
|
58
|
+
run: uvx --no-progress 'repomatic==6.18.4' lint-repo
|
|
59
59
|
|
|
60
60
|
lint-types:
|
|
61
61
|
name: 🛡️ Lint types
|
|
@@ -76,7 +76,7 @@ jobs:
|
|
|
76
76
|
- name: Run Mypy
|
|
77
77
|
env:
|
|
78
78
|
PYTHON_FILES: ${{ fromJSON(needs.metadata.outputs.metadata).python_files }}
|
|
79
|
-
run: echo "${PYTHON_FILES}" | xargs uvx --no-progress 'repomatic==6.18.
|
|
79
|
+
run: echo "${PYTHON_FILES}" | xargs uvx --no-progress 'repomatic==6.18.4' run mypy --
|
|
80
80
|
|
|
81
81
|
lint-yaml:
|
|
82
82
|
name: 📄 Lint YAML
|
|
@@ -93,7 +93,7 @@ jobs:
|
|
|
93
93
|
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
|
94
94
|
- uses: astral-sh/setup-uv@6ee6290f1cbc4156c0bdd66691b2c144ef8df19a # v7.4.0
|
|
95
95
|
- name: Run yamllint
|
|
96
|
-
run: uvx --no-progress 'repomatic==6.18.
|
|
96
|
+
run: uvx --no-progress 'repomatic==6.18.4' run yamllint -- .
|
|
97
97
|
|
|
98
98
|
lint-zsh:
|
|
99
99
|
name: 🐚 Lint Zsh
|
|
@@ -144,7 +144,7 @@ jobs:
|
|
|
144
144
|
https://raw.githubusercontent.com/rhysd/actionlint/refs/tags/v1.7.12/.github/actionlint-matcher.json
|
|
145
145
|
echo "::add-matcher::.github/actionlint-matcher.json"
|
|
146
146
|
- name: Run actionlint
|
|
147
|
-
run: uvx --no-progress 'repomatic==6.18.
|
|
147
|
+
run: uvx --no-progress 'repomatic==6.18.4' run actionlint
|
|
148
148
|
|
|
149
149
|
lint-workflow-security:
|
|
150
150
|
name: 🔒 Lint workflow security
|
|
@@ -160,7 +160,7 @@ jobs:
|
|
|
160
160
|
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
|
161
161
|
- uses: astral-sh/setup-uv@6ee6290f1cbc4156c0bdd66691b2c144ef8df19a # v7.4.0
|
|
162
162
|
- name: Run zizmor
|
|
163
|
-
run: uvx --no-progress 'repomatic==6.18.
|
|
163
|
+
run: uvx --no-progress 'repomatic==6.18.4' run zizmor -- .
|
|
164
164
|
|
|
165
165
|
lint-awesome:
|
|
166
166
|
name: 🌟 Lint awesome
|
|
@@ -201,4 +201,4 @@ jobs:
|
|
|
201
201
|
restore-keys: |
|
|
202
202
|
repomatic-bin-${{ runner.os }}-${{ runner.arch }}-gitleaks-
|
|
203
203
|
- name: Run gitleaks
|
|
204
|
-
run: uvx --no-progress 'repomatic==6.18.
|
|
204
|
+
run: uvx --no-progress 'repomatic==6.18.4' run gitleaks -- detect --source .
|
|
@@ -5,12 +5,18 @@
|
|
|
5
5
|
# downstream's own workflow file: that path is what each downstream registers
|
|
6
6
|
# with PyPI as a Trusted Publisher. See pypi/warehouse#11096 for context.
|
|
7
7
|
#
|
|
8
|
-
# The action ref below is a real, working default (upstream repo at
|
|
9
|
-
# `repomatic.github.workflow_sync._render_publish_pypi_job`
|
|
10
|
-
# the requested {repo, version, sha} via the same `.replace()
|
|
8
|
+
# The action ref below is a real, working default (upstream repo at the
|
|
9
|
+
# default branch). `repomatic.github.workflow_sync._render_publish_pypi_job`
|
|
10
|
+
# rewrites it to the requested {repo, version, sha} via the same `.replace()`
|
|
11
11
|
# convention `repomatic.release_prep` uses on workflow files at freeze time.
|
|
12
12
|
# No bespoke templating syntax is involved: the fragment is plain YAML with
|
|
13
13
|
# real values, copy-pasteable into any workflow.
|
|
14
|
+
#
|
|
15
|
+
# This file is itself walked by `repomatic.release_prep.freeze_workflow_urls`
|
|
16
|
+
# (and its unfreeze counterpart), so wheels built from a freeze commit ship
|
|
17
|
+
# with the action ref pinned to the release tag baked in: downstream
|
|
18
|
+
# `repomatic init` runs from a published wheel default to that pinned ref
|
|
19
|
+
# without any extra rewriting.
|
|
14
20
|
publish-pypi:
|
|
15
21
|
name: 🐍 Publish to PyPI (${{ matrix.short_sha }})
|
|
16
22
|
needs: release
|
|
@@ -21,6 +27,6 @@ publish-pypi:
|
|
|
21
27
|
permissions:
|
|
22
28
|
id-token: write
|
|
23
29
|
steps:
|
|
24
|
-
- uses: kdeldycke/repomatic/.github/actions/publish-pypi@
|
|
30
|
+
- uses: kdeldycke/repomatic/.github/actions/publish-pypi@v6.18.4
|
|
25
31
|
with:
|
|
26
32
|
artifact-name: ${{ github.event.repository.name }}-${{ matrix.short_sha }}
|