repomatic 6.3.0__tar.gz → 6.3.2__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.3.0 → repomatic-6.3.2}/PKG-INFO +14 -6
- {repomatic-6.3.0 → repomatic-6.3.2}/pyproject.toml +10 -3
- {repomatic-6.3.0 → repomatic-6.3.2}/readme.md +12 -4
- {repomatic-6.3.0 → repomatic-6.3.2}/repomatic/__init__.py +1 -1
- {repomatic-6.3.0 → repomatic-6.3.2}/repomatic/cli.py +17 -4
- {repomatic-6.3.0 → repomatic-6.3.2}/repomatic/data/autofix.yaml +46 -45
- {repomatic-6.3.0 → repomatic-6.3.2}/repomatic/data/bumpversion.toml +7 -0
- {repomatic-6.3.0 → repomatic-6.3.2}/repomatic/data/changelog.yaml +12 -12
- {repomatic-6.3.0 → repomatic-6.3.2}/repomatic/data/debug.yaml +3 -3
- {repomatic-6.3.0 → repomatic-6.3.2}/repomatic/data/docs.yaml +5 -5
- {repomatic-6.3.0 → repomatic-6.3.2}/repomatic/data/labels.yaml +10 -10
- {repomatic-6.3.0 → repomatic-6.3.2}/repomatic/data/lint.yaml +12 -12
- {repomatic-6.3.0 → repomatic-6.3.2}/repomatic/data/release.yaml +17 -17
- repomatic-6.3.2/repomatic/data/renovate.json5 +171 -0
- {repomatic-6.3.0 → repomatic-6.3.2}/repomatic/data/renovate.yaml +18 -16
- repomatic-6.3.2/repomatic/data/skill-repomatic-audit.md +122 -0
- {repomatic-6.3.0 → repomatic-6.3.2}/repomatic/data/tests.yaml +63 -17
- {repomatic-6.3.0 → repomatic-6.3.2}/repomatic/github/workflow_sync.py +12 -4
- {repomatic-6.3.0 → repomatic-6.3.2}/repomatic/init_project.py +52 -15
- {repomatic-6.3.0 → repomatic-6.3.2}/repomatic/metadata.py +1 -0
- repomatic-6.3.0/repomatic/data/renovate.json5 +0 -78
- {repomatic-6.3.0 → repomatic-6.3.2}/license +0 -0
- {repomatic-6.3.0 → repomatic-6.3.2}/repomatic/__main__.py +0 -0
- {repomatic-6.3.0 → repomatic-6.3.2}/repomatic/binary.py +0 -0
- {repomatic-6.3.0 → repomatic-6.3.2}/repomatic/broken_links.py +0 -0
- {repomatic-6.3.0 → repomatic-6.3.2}/repomatic/changelog.py +0 -0
- {repomatic-6.3.0 → repomatic-6.3.2}/repomatic/checksums.py +0 -0
- {repomatic-6.3.0 → repomatic-6.3.2}/repomatic/data/__init__.py +0 -0
- {repomatic-6.3.0 → repomatic-6.3.2}/repomatic/data/autolock.yaml +0 -0
- {repomatic-6.3.0 → repomatic-6.3.2}/repomatic/data/cancel-runs.yaml +0 -0
- {repomatic-6.3.0 → repomatic-6.3.2}/repomatic/data/labeller-content-based.yaml +0 -0
- {repomatic-6.3.0 → repomatic-6.3.2}/repomatic/data/labeller-file-based.yaml +0 -0
- {repomatic-6.3.0 → repomatic-6.3.2}/repomatic/data/labels.toml +0 -0
- {repomatic-6.3.0 → repomatic-6.3.2}/repomatic/data/mypy.toml +0 -0
- {repomatic-6.3.0 → repomatic-6.3.2}/repomatic/data/pytest.toml +0 -0
- {repomatic-6.3.0 → repomatic-6.3.2}/repomatic/data/ruff.toml +0 -0
- {repomatic-6.3.0 → repomatic-6.3.2}/repomatic/data/skill-repomatic-changelog.md +0 -0
- {repomatic-6.3.0 → repomatic-6.3.2}/repomatic/data/skill-repomatic-deps.md +0 -0
- {repomatic-6.3.0 → repomatic-6.3.2}/repomatic/data/skill-repomatic-init.md +0 -0
- {repomatic-6.3.0 → repomatic-6.3.2}/repomatic/data/skill-repomatic-lint.md +0 -0
- {repomatic-6.3.0 → repomatic-6.3.2}/repomatic/data/skill-repomatic-release.md +0 -0
- {repomatic-6.3.0 → repomatic-6.3.2}/repomatic/data/skill-repomatic-sync.md +0 -0
- {repomatic-6.3.0 → repomatic-6.3.2}/repomatic/data/skill-repomatic-test.md +0 -0
- {repomatic-6.3.0 → repomatic-6.3.2}/repomatic/data/skill-repomatic-topics.md +0 -0
- {repomatic-6.3.0 → repomatic-6.3.2}/repomatic/data/zizmor.yaml +0 -0
- {repomatic-6.3.0 → repomatic-6.3.2}/repomatic/deps_graph.py +0 -0
- {repomatic-6.3.0 → repomatic-6.3.2}/repomatic/git_ops.py +0 -0
- {repomatic-6.3.0 → repomatic-6.3.2}/repomatic/github/__init__.py +0 -0
- {repomatic-6.3.0 → repomatic-6.3.2}/repomatic/github/actions.py +0 -0
- {repomatic-6.3.0 → repomatic-6.3.2}/repomatic/github/dev_release.py +0 -0
- {repomatic-6.3.0 → repomatic-6.3.2}/repomatic/github/gh.py +0 -0
- {repomatic-6.3.0 → repomatic-6.3.2}/repomatic/github/issue.py +0 -0
- {repomatic-6.3.0 → repomatic-6.3.2}/repomatic/github/matrix.py +0 -0
- {repomatic-6.3.0 → repomatic-6.3.2}/repomatic/github/pr_body.py +0 -0
- {repomatic-6.3.0 → repomatic-6.3.2}/repomatic/github/release_sync.py +0 -0
- {repomatic-6.3.0 → repomatic-6.3.2}/repomatic/github/releases.py +0 -0
- {repomatic-6.3.0 → repomatic-6.3.2}/repomatic/github/token.py +0 -0
- {repomatic-6.3.0 → repomatic-6.3.2}/repomatic/github/unsubscribe.py +0 -0
- {repomatic-6.3.0 → repomatic-6.3.2}/repomatic/images.py +0 -0
- {repomatic-6.3.0 → repomatic-6.3.2}/repomatic/lint_repo.py +0 -0
- {repomatic-6.3.0 → repomatic-6.3.2}/repomatic/mailmap.py +0 -0
- {repomatic-6.3.0 → repomatic-6.3.2}/repomatic/py.typed +0 -0
- {repomatic-6.3.0 → repomatic-6.3.2}/repomatic/release_prep.py +0 -0
- {repomatic-6.3.0 → repomatic-6.3.2}/repomatic/renovate.py +0 -0
- {repomatic-6.3.0 → repomatic-6.3.2}/repomatic/sponsor.py +0 -0
- {repomatic-6.3.0 → repomatic-6.3.2}/repomatic/templates/__init__.py +0 -0
- {repomatic-6.3.0 → repomatic-6.3.2}/repomatic/templates/available-admonition.md +0 -0
- {repomatic-6.3.0 → repomatic-6.3.2}/repomatic/templates/broken-links-issue.md +0 -0
- {repomatic-6.3.0 → repomatic-6.3.2}/repomatic/templates/bump-version.md +0 -0
- {repomatic-6.3.0 → repomatic-6.3.2}/repomatic/templates/detect-squash-merge.md +0 -0
- {repomatic-6.3.0 → repomatic-6.3.2}/repomatic/templates/development-warning.md +0 -0
- {repomatic-6.3.0 → repomatic-6.3.2}/repomatic/templates/fix-changelog.md +0 -0
- {repomatic-6.3.0 → repomatic-6.3.2}/repomatic/templates/fix-typos.md +0 -0
- {repomatic-6.3.0 → repomatic-6.3.2}/repomatic/templates/format-json.md +0 -0
- {repomatic-6.3.0 → repomatic-6.3.2}/repomatic/templates/format-markdown.md +0 -0
- {repomatic-6.3.0 → repomatic-6.3.2}/repomatic/templates/format-pyproject.md +0 -0
- {repomatic-6.3.0 → repomatic-6.3.2}/repomatic/templates/format-python.md +0 -0
- {repomatic-6.3.0 → repomatic-6.3.2}/repomatic/templates/generated-footer.md +0 -0
- {repomatic-6.3.0 → repomatic-6.3.2}/repomatic/templates/github-releases.md +0 -0
- {repomatic-6.3.0 → repomatic-6.3.2}/repomatic/templates/pr-metadata.md +0 -0
- {repomatic-6.3.0 → repomatic-6.3.2}/repomatic/templates/prepare-release.md +0 -0
- {repomatic-6.3.0 → repomatic-6.3.2}/repomatic/templates/refresh-tip.md +0 -0
- {repomatic-6.3.0 → repomatic-6.3.2}/repomatic/templates/release-notes.md +0 -0
- {repomatic-6.3.0 → repomatic-6.3.2}/repomatic/templates/release-sync-report.md +0 -0
- {repomatic-6.3.0 → repomatic-6.3.2}/repomatic/templates/renovate-migration.md +0 -0
- {repomatic-6.3.0 → repomatic-6.3.2}/repomatic/templates/setup-guide.md +0 -0
- {repomatic-6.3.0 → repomatic-6.3.2}/repomatic/templates/sync-bumpversion.md +0 -0
- {repomatic-6.3.0 → repomatic-6.3.2}/repomatic/templates/sync-gitignore.md +0 -0
- {repomatic-6.3.0 → repomatic-6.3.2}/repomatic/templates/sync-linter-configs.md +0 -0
- {repomatic-6.3.0 → repomatic-6.3.2}/repomatic/templates/sync-mailmap.md +0 -0
- {repomatic-6.3.0 → repomatic-6.3.2}/repomatic/templates/sync-renovate.md +0 -0
- {repomatic-6.3.0 → repomatic-6.3.2}/repomatic/templates/sync-uv-lock.md +0 -0
- {repomatic-6.3.0 → repomatic-6.3.2}/repomatic/templates/sync-workflows.md +0 -0
- {repomatic-6.3.0 → repomatic-6.3.2}/repomatic/templates/unavailable-admonition.md +0 -0
- {repomatic-6.3.0 → repomatic-6.3.2}/repomatic/templates/unsubscribe-phase1.md +0 -0
- {repomatic-6.3.0 → repomatic-6.3.2}/repomatic/templates/unsubscribe-phase2.md +0 -0
- {repomatic-6.3.0 → repomatic-6.3.2}/repomatic/templates/update-deps-graph.md +0 -0
- {repomatic-6.3.0 → repomatic-6.3.2}/repomatic/templates/update-docs.md +0 -0
- {repomatic-6.3.0 → repomatic-6.3.2}/repomatic/templates/yanked-admonition.md +0 -0
- {repomatic-6.3.0 → repomatic-6.3.2}/repomatic/test_plan.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: repomatic
|
|
3
|
-
Version: 6.3.
|
|
3
|
+
Version: 6.3.2
|
|
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
|
|
@@ -58,7 +58,7 @@ Requires-Dist: tomli>=2.3 ; python_full_version < '3.11'
|
|
|
58
58
|
Requires-Dist: wcmatch>=10
|
|
59
59
|
Requires-Python: >=3.10
|
|
60
60
|
Project-URL: Changelog, https://github.com/kdeldycke/repomatic/blob/main/changelog.md
|
|
61
|
-
Project-URL: Download, https://github.com/kdeldycke/repomatic/releases/tag/v6.3.
|
|
61
|
+
Project-URL: Download, https://github.com/kdeldycke/repomatic/releases/tag/v6.3.2
|
|
62
62
|
Project-URL: Funding, https://github.com/sponsors/kdeldycke
|
|
63
63
|
Project-URL: Homepage, https://github.com/kdeldycke/repomatic
|
|
64
64
|
Project-URL: Issues, https://github.com/kdeldycke/repomatic/issues
|
|
@@ -183,9 +183,9 @@ To ease deployment, standalone executables of `repomatic`'s latest version are a
|
|
|
183
183
|
|
|
184
184
|
| Platform | `arm64` | `x86_64` |
|
|
185
185
|
| :---------- | ------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
186
|
-
| **Linux** | [Download `repomatic-6.3.
|
|
187
|
-
| **macOS** | [Download `repomatic-6.3.
|
|
188
|
-
| **Windows** | [Download `repomatic-6.3.
|
|
186
|
+
| **Linux** | [Download `repomatic-6.3.2-linux-arm64.bin`](https://github.com/kdeldycke/repomatic/releases/download/v6.3.2/repomatic-6.3.2-linux-arm64.bin) | [Download `repomatic-6.3.2-linux-x64.bin`](https://github.com/kdeldycke/repomatic/releases/download/v6.3.2/repomatic-6.3.2-linux-x64.bin) |
|
|
187
|
+
| **macOS** | [Download `repomatic-6.3.2-macos-arm64.bin`](https://github.com/kdeldycke/repomatic/releases/download/v6.3.2/repomatic-6.3.2-macos-arm64.bin) | [Download `repomatic-6.3.2-macos-x64.bin`](https://github.com/kdeldycke/repomatic/releases/download/v6.3.2/repomatic-6.3.2-macos-x64.bin) |
|
|
188
|
+
| **Windows** | [Download `repomatic-6.3.2-windows-arm64.exe`](https://github.com/kdeldycke/repomatic/releases/download/v6.3.2/repomatic-6.3.2-windows-arm64.exe) | [Download `repomatic-6.3.2-windows-x64.exe`](https://github.com/kdeldycke/repomatic/releases/download/v6.3.2/repomatic-6.3.2-windows-x64.exe) |
|
|
189
189
|
|
|
190
190
|
That way you have a chance to try it out without installing Python or `uv`. Or embed it in your CI/CD pipelines running on minimal images. Or run it on old platforms without worrying about dependency hell.
|
|
191
191
|
|
|
@@ -754,10 +754,18 @@ docs = [
|
|
|
754
754
|
|
|
755
755
|
### 🔬 [`.github/workflows/tests.yaml` jobs](https://github.com/kdeldycke/repomatic/blob/main/.github/workflows/tests.yaml)
|
|
756
756
|
|
|
757
|
+
- 📦 **Package install** (`test-package-install`)
|
|
758
|
+
|
|
759
|
+
- Verifies the package can be installed and all CLI entry points run correctly via every install method: `uvx`, `uvx --from`, `uv run --with`, module invocation (`-m`), `uv tool install`, and `pipx run`
|
|
760
|
+
- Tests both the latest PyPI release and the current `main` branch from GitHub
|
|
761
|
+
- Runs once on a single stable OS/Python — install correctness does not vary by platform
|
|
762
|
+
- **Requires**:
|
|
763
|
+
- `cli_scripts` from `project-metadata` job (skipped if no `[project.scripts]` entries)
|
|
764
|
+
|
|
757
765
|
- 🔬 **Run tests** (`tests`)
|
|
758
766
|
|
|
759
767
|
- Runs the test suite across a matrix of OS (Linux/macOS/Windows × `x86_64`/`arm64`) and Python versions (`3.10`, `3.14`, `3.14t`, `3.15`, `3.15t`)
|
|
760
|
-
-
|
|
768
|
+
- Installs all optional extras (`--all-extras`) to catch incompatibilities between optional dependency groups
|
|
761
769
|
- Runs `pytest` with coverage reporting to Codecov
|
|
762
770
|
- Runs self-tests against the CLI test plan
|
|
763
771
|
- Job names prefixed with **✅** (stable) or **⁉️** (unstable, e.g., unreleased Python versions)
|
|
@@ -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.3.
|
|
8
|
+
version = "6.3.2"
|
|
9
9
|
description = "🏭 Automate repository maintenance, releases, and CI/CD workflows"
|
|
10
10
|
readme = "readme.md"
|
|
11
11
|
keywords = [
|
|
@@ -118,7 +118,7 @@ repomatic = "repomatic.__main__:main"
|
|
|
118
118
|
|
|
119
119
|
[project.urls]
|
|
120
120
|
"Changelog" = "https://github.com/kdeldycke/repomatic/blob/main/changelog.md"
|
|
121
|
-
"Download" = "https://github.com/kdeldycke/repomatic/releases/tag/v6.3.
|
|
121
|
+
"Download" = "https://github.com/kdeldycke/repomatic/releases/tag/v6.3.2"
|
|
122
122
|
"Funding" = "https://github.com/sponsors/kdeldycke"
|
|
123
123
|
"Homepage" = "https://github.com/kdeldycke/repomatic"
|
|
124
124
|
"Issues" = "https://github.com/kdeldycke/repomatic/issues"
|
|
@@ -221,7 +221,7 @@ run.source = [ "repomatic" ]
|
|
|
221
221
|
report.precision = 2
|
|
222
222
|
|
|
223
223
|
[tool.bumpversion]
|
|
224
|
-
current_version = "6.3.
|
|
224
|
+
current_version = "6.3.2"
|
|
225
225
|
allow_dirty = true
|
|
226
226
|
ignore_missing_files = true
|
|
227
227
|
# Parse versions with an optional .devN suffix (PEP 440).
|
|
@@ -265,6 +265,13 @@ filename = "./citation.cff"
|
|
|
265
265
|
search = "version: {current_version}"
|
|
266
266
|
replace = "version: {new_version}"
|
|
267
267
|
|
|
268
|
+
[[tool.bumpversion.files]]
|
|
269
|
+
# Update the release date in the citation file.
|
|
270
|
+
filename = "./citation.cff"
|
|
271
|
+
regex = true
|
|
272
|
+
search = "date-released: \\d{{4}}-\\d{{2}}-\\d{{2}}"
|
|
273
|
+
replace = "date-released: {utcnow:%Y-%m-%d}"
|
|
274
|
+
|
|
268
275
|
[tool.mypy]
|
|
269
276
|
warn_unused_configs = true
|
|
270
277
|
warn_redundant_casts = true
|
|
@@ -116,9 +116,9 @@ To ease deployment, standalone executables of `repomatic`'s latest version are a
|
|
|
116
116
|
|
|
117
117
|
| Platform | `arm64` | `x86_64` |
|
|
118
118
|
| :---------- | ------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
119
|
-
| **Linux** | [Download `repomatic-6.3.
|
|
120
|
-
| **macOS** | [Download `repomatic-6.3.
|
|
121
|
-
| **Windows** | [Download `repomatic-6.3.
|
|
119
|
+
| **Linux** | [Download `repomatic-6.3.2-linux-arm64.bin`](https://github.com/kdeldycke/repomatic/releases/download/v6.3.2/repomatic-6.3.2-linux-arm64.bin) | [Download `repomatic-6.3.2-linux-x64.bin`](https://github.com/kdeldycke/repomatic/releases/download/v6.3.2/repomatic-6.3.2-linux-x64.bin) |
|
|
120
|
+
| **macOS** | [Download `repomatic-6.3.2-macos-arm64.bin`](https://github.com/kdeldycke/repomatic/releases/download/v6.3.2/repomatic-6.3.2-macos-arm64.bin) | [Download `repomatic-6.3.2-macos-x64.bin`](https://github.com/kdeldycke/repomatic/releases/download/v6.3.2/repomatic-6.3.2-macos-x64.bin) |
|
|
121
|
+
| **Windows** | [Download `repomatic-6.3.2-windows-arm64.exe`](https://github.com/kdeldycke/repomatic/releases/download/v6.3.2/repomatic-6.3.2-windows-arm64.exe) | [Download `repomatic-6.3.2-windows-x64.exe`](https://github.com/kdeldycke/repomatic/releases/download/v6.3.2/repomatic-6.3.2-windows-x64.exe) |
|
|
122
122
|
|
|
123
123
|
That way you have a chance to try it out without installing Python or `uv`. Or embed it in your CI/CD pipelines running on minimal images. Or run it on old platforms without worrying about dependency hell.
|
|
124
124
|
|
|
@@ -687,10 +687,18 @@ docs = [
|
|
|
687
687
|
|
|
688
688
|
### 🔬 [`.github/workflows/tests.yaml` jobs](https://github.com/kdeldycke/repomatic/blob/main/.github/workflows/tests.yaml)
|
|
689
689
|
|
|
690
|
+
- 📦 **Package install** (`test-package-install`)
|
|
691
|
+
|
|
692
|
+
- Verifies the package can be installed and all CLI entry points run correctly via every install method: `uvx`, `uvx --from`, `uv run --with`, module invocation (`-m`), `uv tool install`, and `pipx run`
|
|
693
|
+
- Tests both the latest PyPI release and the current `main` branch from GitHub
|
|
694
|
+
- Runs once on a single stable OS/Python — install correctness does not vary by platform
|
|
695
|
+
- **Requires**:
|
|
696
|
+
- `cli_scripts` from `project-metadata` job (skipped if no `[project.scripts]` entries)
|
|
697
|
+
|
|
690
698
|
- 🔬 **Run tests** (`tests`)
|
|
691
699
|
|
|
692
700
|
- Runs the test suite across a matrix of OS (Linux/macOS/Windows × `x86_64`/`arm64`) and Python versions (`3.10`, `3.14`, `3.14t`, `3.15`, `3.15t`)
|
|
693
|
-
-
|
|
701
|
+
- Installs all optional extras (`--all-extras`) to catch incompatibilities between optional dependency groups
|
|
694
702
|
- Runs `pytest` with coverage reporting to Codecov
|
|
695
703
|
- Runs self-tests against the CLI test plan
|
|
696
704
|
- Job names prefixed with **✅** (stable) or **⁉️** (unstable, e.g., unreleased Python versions)
|
|
@@ -2016,8 +2016,8 @@ def sync_skills() -> None:
|
|
|
2016
2016
|
_SKILL_PHASES: dict[str, str] = {
|
|
2017
2017
|
"repomatic-init": "Setup",
|
|
2018
2018
|
"repomatic-sync": "Setup",
|
|
2019
|
+
"repomatic-audit": "Maintenance",
|
|
2019
2020
|
"repomatic-deps": "Development",
|
|
2020
|
-
"repomatic-metadata": "Development",
|
|
2021
2021
|
"repomatic-lint": "Quality",
|
|
2022
2022
|
"repomatic-test": "Quality",
|
|
2023
2023
|
"repomatic-topics": "Development",
|
|
@@ -2027,7 +2027,7 @@ _SKILL_PHASES: dict[str, str] = {
|
|
|
2027
2027
|
"""Maps skill names to lifecycle phases for display grouping."""
|
|
2028
2028
|
|
|
2029
2029
|
# Canonical display order for lifecycle phases.
|
|
2030
|
-
_PHASE_ORDER = ("Setup", "Development", "Quality", "Release")
|
|
2030
|
+
_PHASE_ORDER = ("Setup", "Development", "Quality", "Maintenance", "Release")
|
|
2031
2031
|
|
|
2032
2032
|
|
|
2033
2033
|
def _parse_skill_frontmatter(content: str) -> dict[str, str]:
|
|
@@ -2097,11 +2097,24 @@ def sync_renovate(ctx: Context, output_path: Path) -> None:
|
|
|
2097
2097
|
"""Sync ``renovate.json5`` from the canonical reference configuration.
|
|
2098
2098
|
|
|
2099
2099
|
Overwrites the local Renovate configuration with the version bundled in
|
|
2100
|
-
``repomatic``, which strips
|
|
2101
|
-
``
|
|
2100
|
+
``repomatic``, which strips ``assignees`` and the self-referencing uv
|
|
2101
|
+
``customManagers`` entry from the upstream ``kdeldycke/repomatic``
|
|
2102
|
+
reference. All other ``customManagers`` entries are included.
|
|
2102
2103
|
|
|
2103
2104
|
Exits gracefully if the target file does not exist (the repository is
|
|
2104
2105
|
not using Renovate).
|
|
2106
|
+
|
|
2107
|
+
.. note::
|
|
2108
|
+
|
|
2109
|
+
The self-referencing uv ``customManagers`` entry (which targets
|
|
2110
|
+
``renovate.json5`` itself to keep the hardcoded uv version in
|
|
2111
|
+
``postUpgradeTasks`` current) is excluded from the synced template.
|
|
2112
|
+
If included, Renovate would bump that version via PR; the merged PR
|
|
2113
|
+
would trigger ``sync-renovate``, which overwrites ``renovate.json5``
|
|
2114
|
+
back to the bundled template (reverting the bump); Renovate would
|
|
2115
|
+
then open the same PR again — indefinitely. All other
|
|
2116
|
+
``customManagers`` entries target workflow files, not
|
|
2117
|
+
``renovate.json5`` itself, so they are safe to sync.
|
|
2105
2118
|
"""
|
|
2106
2119
|
config = load_repomatic_config()
|
|
2107
2120
|
if not config.get("renovate-sync", True):
|
|
@@ -29,11 +29,11 @@ jobs:
|
|
|
29
29
|
issues: write
|
|
30
30
|
steps:
|
|
31
31
|
- uses: actions/checkout@v6.0.2
|
|
32
|
-
- uses: astral-sh/setup-uv@v7.3.
|
|
32
|
+
- uses: astral-sh/setup-uv@v7.3.1
|
|
33
33
|
- name: Manage setup guide issue
|
|
34
34
|
env:
|
|
35
35
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
36
|
-
run: uvx --no-progress 'repomatic==6.3.
|
|
36
|
+
run: uvx --no-progress 'repomatic==6.3.2' setup-guide
|
|
37
37
|
|
|
38
38
|
project-metadata:
|
|
39
39
|
name: 🧬 Project metadata
|
|
@@ -52,10 +52,10 @@ jobs:
|
|
|
52
52
|
release_commits_matrix: ${{ steps.project-metadata.outputs.release_commits_matrix }}
|
|
53
53
|
steps:
|
|
54
54
|
- uses: actions/checkout@v6.0.2
|
|
55
|
-
- uses: astral-sh/setup-uv@v7.3.
|
|
55
|
+
- uses: astral-sh/setup-uv@v7.3.1
|
|
56
56
|
- name: Run repomatic metadata
|
|
57
57
|
id: project-metadata
|
|
58
|
-
run: uvx --no-progress 'repomatic==6.3.
|
|
58
|
+
run: uvx --no-progress 'repomatic==6.3.2' metadata --output "$GITHUB_OUTPUT"
|
|
59
59
|
|
|
60
60
|
# --- Formatters: rewrite files to enforce canonical style. ---
|
|
61
61
|
|
|
@@ -68,7 +68,7 @@ jobs:
|
|
|
68
68
|
runs-on: ubuntu-slim
|
|
69
69
|
steps:
|
|
70
70
|
- uses: actions/checkout@v6.0.2
|
|
71
|
-
- uses: astral-sh/setup-uv@v7.3.
|
|
71
|
+
- uses: astral-sh/setup-uv@v7.3.1
|
|
72
72
|
- name: Run autopep8
|
|
73
73
|
if: needs.project-metadata.outputs.python_files
|
|
74
74
|
# Ruff is not wrapping comments: https://github.com/astral-sh/ruff/issues/7414
|
|
@@ -84,7 +84,7 @@ jobs:
|
|
|
84
84
|
# Projects with existing ruff config will keep their settings.
|
|
85
85
|
run: |
|
|
86
86
|
uv tool install 'ruff==0.15.5'
|
|
87
|
-
uvx --no-progress 'repomatic==6.3.
|
|
87
|
+
uvx --no-progress 'repomatic==6.3.2' init ruff
|
|
88
88
|
# XXX Ruff is planning to support linting and formatting in one unified command at one point.
|
|
89
89
|
# See: https://github.com/astral-sh/ruff/issues/8232
|
|
90
90
|
- name: Run Ruff
|
|
@@ -93,7 +93,7 @@ jobs:
|
|
|
93
93
|
ruff format --output-format github
|
|
94
94
|
- id: pr-metadata
|
|
95
95
|
run: >
|
|
96
|
-
uvx --no-progress 'repomatic==6.3.
|
|
96
|
+
uvx --no-progress 'repomatic==6.3.2' pr-body
|
|
97
97
|
--template format-python
|
|
98
98
|
--output "$GITHUB_OUTPUT"
|
|
99
99
|
- uses: peter-evans/create-pull-request@v8.1.0
|
|
@@ -113,7 +113,7 @@ jobs:
|
|
|
113
113
|
runs-on: ubuntu-slim
|
|
114
114
|
steps:
|
|
115
115
|
- uses: actions/checkout@v6.0.2
|
|
116
|
-
- uses: astral-sh/setup-uv@v7.3.
|
|
116
|
+
- uses: astral-sh/setup-uv@v7.3.1
|
|
117
117
|
- name: Run pyproject-fmt
|
|
118
118
|
# pyproject-fmt returns exit code 1 when it reformats the file.
|
|
119
119
|
# We ignore this since changes are expected in an autofix workflow.
|
|
@@ -123,7 +123,7 @@ jobs:
|
|
|
123
123
|
pyproject.toml || true
|
|
124
124
|
- id: pr-metadata
|
|
125
125
|
run: >
|
|
126
|
-
uvx --no-progress 'repomatic==6.3.
|
|
126
|
+
uvx --no-progress 'repomatic==6.3.2' pr-body
|
|
127
127
|
--template format-pyproject
|
|
128
128
|
--output "$GITHUB_OUTPUT"
|
|
129
129
|
- uses: peter-evans/create-pull-request@v8.1.0
|
|
@@ -144,7 +144,7 @@ jobs:
|
|
|
144
144
|
runs-on: ubuntu-24.04
|
|
145
145
|
steps:
|
|
146
146
|
- uses: actions/checkout@v6.0.2
|
|
147
|
-
- uses: astral-sh/setup-uv@v7.3.
|
|
147
|
+
- uses: astral-sh/setup-uv@v7.3.1
|
|
148
148
|
# https://mdformat.readthedocs.io/en/stable/users/plugins.html
|
|
149
149
|
- name: Install mdformat
|
|
150
150
|
# XXX mdformat-pelican is capped at mdformat<0.8.0 so it block the whole ecosystem from upgrading:
|
|
@@ -192,7 +192,7 @@ jobs:
|
|
|
192
192
|
-exec gawk -i inplace '!/^- \[(Contents|Contributing|Footnotes|Related Lists)\]\(#.+\)$/{print}' "{}" \;
|
|
193
193
|
- id: pr-metadata
|
|
194
194
|
run: >
|
|
195
|
-
uvx --no-progress 'repomatic==6.3.
|
|
195
|
+
uvx --no-progress 'repomatic==6.3.2' pr-body
|
|
196
196
|
--template format-markdown
|
|
197
197
|
--output "$GITHUB_OUTPUT"
|
|
198
198
|
- uses: peter-evans/create-pull-request@v8.1.0
|
|
@@ -212,7 +212,7 @@ jobs:
|
|
|
212
212
|
runs-on: ubuntu-slim
|
|
213
213
|
steps:
|
|
214
214
|
- uses: actions/checkout@v6.0.2
|
|
215
|
-
- uses: astral-sh/setup-uv@v7.3.
|
|
215
|
+
- uses: astral-sh/setup-uv@v7.3.1
|
|
216
216
|
- name: Install Biome
|
|
217
217
|
run: |
|
|
218
218
|
curl -fsSL \
|
|
@@ -231,7 +231,7 @@ jobs:
|
|
|
231
231
|
${{ needs.project-metadata.outputs.json_files }}
|
|
232
232
|
- id: pr-metadata
|
|
233
233
|
run: >
|
|
234
|
-
uvx --no-progress 'repomatic==6.3.
|
|
234
|
+
uvx --no-progress 'repomatic==6.3.2' pr-body
|
|
235
235
|
--template format-json
|
|
236
236
|
--output "$GITHUB_OUTPUT"
|
|
237
237
|
- uses: peter-evans/create-pull-request@v8.1.0
|
|
@@ -250,7 +250,7 @@ jobs:
|
|
|
250
250
|
runs-on: ubuntu-slim
|
|
251
251
|
steps:
|
|
252
252
|
- uses: actions/checkout@v6.0.2
|
|
253
|
-
- uses: astral-sh/setup-uv@v7.3.
|
|
253
|
+
- uses: astral-sh/setup-uv@v7.3.1
|
|
254
254
|
- name: Install typos
|
|
255
255
|
run: |
|
|
256
256
|
curl -fsSL --output /tmp/typos.tar.gz \
|
|
@@ -261,7 +261,7 @@ jobs:
|
|
|
261
261
|
run: typos --write-changes
|
|
262
262
|
- id: pr-metadata
|
|
263
263
|
run: >
|
|
264
|
-
uvx --no-progress 'repomatic==6.3.
|
|
264
|
+
uvx --no-progress 'repomatic==6.3.2' pr-body
|
|
265
265
|
--template fix-typos
|
|
266
266
|
--output "$GITHUB_OUTPUT"
|
|
267
267
|
- uses: peter-evans/create-pull-request@v8.1.0
|
|
@@ -286,10 +286,11 @@ jobs:
|
|
|
286
286
|
needs:
|
|
287
287
|
- project-metadata
|
|
288
288
|
if: needs.project-metadata.outputs.image_files
|
|
289
|
-
|
|
289
|
+
# Cannot use "ubuntu-slim" because oxipng is not available there.
|
|
290
|
+
runs-on: ubuntu-24.04
|
|
290
291
|
steps:
|
|
291
292
|
- uses: actions/checkout@v6.0.2
|
|
292
|
-
- uses: astral-sh/setup-uv@v7.3.
|
|
293
|
+
- uses: astral-sh/setup-uv@v7.3.1
|
|
293
294
|
- name: Install image optimization tools
|
|
294
295
|
run: >
|
|
295
296
|
sudo apt-get update &&
|
|
@@ -298,12 +299,12 @@ jobs:
|
|
|
298
299
|
- name: Optimize images
|
|
299
300
|
id: optimize
|
|
300
301
|
run: >
|
|
301
|
-
uvx --no-progress 'repomatic==6.3.
|
|
302
|
+
uvx --no-progress 'repomatic==6.3.2' optimize-images
|
|
302
303
|
--output "$GITHUB_OUTPUT"
|
|
303
304
|
- id: pr-metadata
|
|
304
305
|
env:
|
|
305
306
|
GHA_PR_BODY_PREFIX: ${{ steps.optimize.outputs.markdown }}
|
|
306
|
-
run: uvx --no-progress 'repomatic==6.3.
|
|
307
|
+
run: uvx --no-progress 'repomatic==6.3.2' pr-body --output "$GITHUB_OUTPUT"
|
|
307
308
|
- uses: peter-evans/create-pull-request@v8.1.0
|
|
308
309
|
with:
|
|
309
310
|
assignees: ${{ github.actor }}
|
|
@@ -323,12 +324,12 @@ jobs:
|
|
|
323
324
|
runs-on: ubuntu-slim
|
|
324
325
|
steps:
|
|
325
326
|
- uses: actions/checkout@v6.0.2
|
|
326
|
-
- uses: astral-sh/setup-uv@v7.3.
|
|
327
|
+
- uses: astral-sh/setup-uv@v7.3.1
|
|
327
328
|
- name: Sync .gitignore
|
|
328
|
-
run: uvx --no-progress 'repomatic==6.3.
|
|
329
|
+
run: uvx --no-progress 'repomatic==6.3.2' sync-gitignore
|
|
329
330
|
- id: pr-metadata
|
|
330
331
|
run: >
|
|
331
|
-
uvx --no-progress 'repomatic==6.3.
|
|
332
|
+
uvx --no-progress 'repomatic==6.3.2' pr-body
|
|
332
333
|
--template sync-gitignore
|
|
333
334
|
--output "$GITHUB_OUTPUT"
|
|
334
335
|
- uses: peter-evans/create-pull-request@v8.1.0
|
|
@@ -345,12 +346,12 @@ jobs:
|
|
|
345
346
|
runs-on: ubuntu-slim
|
|
346
347
|
steps:
|
|
347
348
|
- uses: actions/checkout@v6.0.2
|
|
348
|
-
- uses: astral-sh/setup-uv@v7.3.
|
|
349
|
+
- uses: astral-sh/setup-uv@v7.3.1
|
|
349
350
|
- name: Sync bumpversion config
|
|
350
|
-
run: uvx --no-progress 'repomatic==6.3.
|
|
351
|
+
run: uvx --no-progress 'repomatic==6.3.2' sync-bumpversion
|
|
351
352
|
- id: pr-metadata
|
|
352
353
|
run: >
|
|
353
|
-
uvx --no-progress 'repomatic==6.3.
|
|
354
|
+
uvx --no-progress 'repomatic==6.3.2' pr-body
|
|
354
355
|
--template sync-bumpversion
|
|
355
356
|
--output "$GITHUB_OUTPUT"
|
|
356
357
|
- uses: peter-evans/create-pull-request@v8.1.0
|
|
@@ -367,12 +368,12 @@ jobs:
|
|
|
367
368
|
runs-on: ubuntu-slim
|
|
368
369
|
steps:
|
|
369
370
|
- uses: actions/checkout@v6.0.2
|
|
370
|
-
- uses: astral-sh/setup-uv@v7.3.
|
|
371
|
+
- uses: astral-sh/setup-uv@v7.3.1
|
|
371
372
|
- name: Sync linter configs
|
|
372
|
-
run: uvx --no-progress 'repomatic==6.3.
|
|
373
|
+
run: uvx --no-progress 'repomatic==6.3.2' sync-linter-configs
|
|
373
374
|
- id: pr-metadata
|
|
374
375
|
run: >
|
|
375
|
-
uvx --no-progress 'repomatic==6.3.
|
|
376
|
+
uvx --no-progress 'repomatic==6.3.2' pr-body
|
|
376
377
|
--template sync-linter-configs
|
|
377
378
|
--output "$GITHUB_OUTPUT"
|
|
378
379
|
- uses: peter-evans/create-pull-request@v8.1.0
|
|
@@ -394,12 +395,12 @@ jobs:
|
|
|
394
395
|
runs-on: ubuntu-slim
|
|
395
396
|
steps:
|
|
396
397
|
- uses: actions/checkout@v6.0.2
|
|
397
|
-
- uses: astral-sh/setup-uv@v7.3.
|
|
398
|
+
- uses: astral-sh/setup-uv@v7.3.1
|
|
398
399
|
- name: Sync Renovate config
|
|
399
|
-
run: uvx --no-progress 'repomatic==6.3.
|
|
400
|
+
run: uvx --no-progress 'repomatic==6.3.2' sync-renovate
|
|
400
401
|
- id: pr-metadata
|
|
401
402
|
run: >
|
|
402
|
-
uvx --no-progress 'repomatic==6.3.
|
|
403
|
+
uvx --no-progress 'repomatic==6.3.2' pr-body
|
|
403
404
|
--template sync-renovate
|
|
404
405
|
--output "$GITHUB_OUTPUT"
|
|
405
406
|
- uses: peter-evans/create-pull-request@v8.1.0
|
|
@@ -422,12 +423,12 @@ jobs:
|
|
|
422
423
|
with:
|
|
423
424
|
# Fetch all history to extract all contributors.
|
|
424
425
|
fetch-depth: 0
|
|
425
|
-
- uses: astral-sh/setup-uv@v7.3.
|
|
426
|
+
- uses: astral-sh/setup-uv@v7.3.1
|
|
426
427
|
- name: Sync .mailmap
|
|
427
|
-
run: uvx --no-progress 'repomatic==6.3.
|
|
428
|
+
run: uvx --no-progress 'repomatic==6.3.2' sync-mailmap --skip-if-missing
|
|
428
429
|
- id: pr-metadata
|
|
429
430
|
run: >
|
|
430
|
-
uvx --no-progress 'repomatic==6.3.
|
|
431
|
+
uvx --no-progress 'repomatic==6.3.2' pr-body
|
|
431
432
|
--template sync-mailmap
|
|
432
433
|
--output "$GITHUB_OUTPUT"
|
|
433
434
|
- uses: peter-evans/create-pull-request@v8.1.0
|
|
@@ -450,13 +451,13 @@ jobs:
|
|
|
450
451
|
runs-on: ubuntu-slim
|
|
451
452
|
steps:
|
|
452
453
|
- uses: actions/checkout@v6.0.2
|
|
453
|
-
- uses: astral-sh/setup-uv@v7.3.
|
|
454
|
+
- uses: astral-sh/setup-uv@v7.3.1
|
|
454
455
|
- name: Generate graph
|
|
455
456
|
# Package name and output path are auto-detected from pyproject.toml.
|
|
456
|
-
run: uvx --no-progress 'repomatic==6.3.
|
|
457
|
+
run: uvx --no-progress 'repomatic==6.3.2' update-deps-graph
|
|
457
458
|
- id: pr-metadata
|
|
458
459
|
run: >
|
|
459
|
-
uvx --no-progress 'repomatic==6.3.
|
|
460
|
+
uvx --no-progress 'repomatic==6.3.2' pr-body
|
|
460
461
|
--template update-deps-graph
|
|
461
462
|
--output "$GITHUB_OUTPUT"
|
|
462
463
|
- uses: peter-evans/create-pull-request@v8.1.0
|
|
@@ -478,7 +479,7 @@ jobs:
|
|
|
478
479
|
runs-on: ubuntu-slim
|
|
479
480
|
steps:
|
|
480
481
|
- uses: actions/checkout@v6.0.2
|
|
481
|
-
- uses: astral-sh/setup-uv@v7.3.
|
|
482
|
+
- uses: astral-sh/setup-uv@v7.3.1
|
|
482
483
|
- name: Regenerate Sphinx autodoc
|
|
483
484
|
# Omit --force so existing RST files (often with custom modifications produced by the next step) are preserved.
|
|
484
485
|
# Only new module stubs are created, and deleted ones are left for manual removal by the maintainers.
|
|
@@ -491,7 +492,7 @@ jobs:
|
|
|
491
492
|
fi
|
|
492
493
|
- id: pr-metadata
|
|
493
494
|
run: >
|
|
494
|
-
uvx --no-progress 'repomatic==6.3.
|
|
495
|
+
uvx --no-progress 'repomatic==6.3.2' pr-body
|
|
495
496
|
--template update-docs
|
|
496
497
|
--output "$GITHUB_OUTPUT"
|
|
497
498
|
- uses: peter-evans/create-pull-request@v8.1.0
|
|
@@ -509,14 +510,14 @@ jobs:
|
|
|
509
510
|
runs-on: ubuntu-slim
|
|
510
511
|
steps:
|
|
511
512
|
- uses: actions/checkout@v6.0.2
|
|
512
|
-
- uses: astral-sh/setup-uv@v7.3.
|
|
513
|
+
- uses: astral-sh/setup-uv@v7.3.1
|
|
513
514
|
- name: Re-create thin caller workflows
|
|
514
|
-
run: uvx --no-progress 'repomatic==6.3.
|
|
515
|
+
run: uvx --no-progress 'repomatic==6.3.2' workflow sync --format thin-caller
|
|
515
516
|
- name: Sync non-reusable workflow headers
|
|
516
|
-
run: uvx --no-progress 'repomatic==6.3.
|
|
517
|
+
run: uvx --no-progress 'repomatic==6.3.2' workflow sync --format header-only
|
|
517
518
|
- id: pr-metadata
|
|
518
519
|
run: >
|
|
519
|
-
uvx --no-progress 'repomatic==6.3.
|
|
520
|
+
uvx --no-progress 'repomatic==6.3.2' pr-body
|
|
520
521
|
--template sync-workflows
|
|
521
522
|
--output "$GITHUB_OUTPUT"
|
|
522
523
|
- uses: peter-evans/create-pull-request@v8.1.0
|
|
@@ -550,14 +551,14 @@ jobs:
|
|
|
550
551
|
with:
|
|
551
552
|
token: ${{ secrets.WORKFLOW_UPDATE_GITHUB_PAT || secrets.GITHUB_TOKEN }}
|
|
552
553
|
fetch-depth: 0
|
|
553
|
-
- uses: astral-sh/setup-uv@v7.3.
|
|
554
|
+
- uses: astral-sh/setup-uv@v7.3.1
|
|
554
555
|
- id: pr-metadata
|
|
555
556
|
# Template variables are substituted by the template-sync action.
|
|
556
557
|
env:
|
|
557
558
|
GHA_PR_BODY_PREFIX: |
|
|
558
559
|
Files synced from [`kdeldycke/awesome-template@${TEMPLATE_GIT_HASH}`
|
|
559
560
|
repository](${SOURCE_REPO}/tree/${TEMPLATE_GIT_HASH}).
|
|
560
|
-
run: uvx --no-progress 'repomatic==6.3.
|
|
561
|
+
run: uvx --no-progress 'repomatic==6.3.2' pr-body --output "$GITHUB_OUTPUT"
|
|
561
562
|
- name: Sync from template repo
|
|
562
563
|
id: template_sync
|
|
563
564
|
uses: AndreasAugustin/actions-template-sync@v2.5.2
|
|
@@ -47,3 +47,10 @@ replace = "## [`{new_version}` (unreleased)]("
|
|
|
47
47
|
filename = "./citation.cff"
|
|
48
48
|
search = "version: {current_version}"
|
|
49
49
|
replace = "version: {new_version}"
|
|
50
|
+
|
|
51
|
+
[[files]]
|
|
52
|
+
# Update the release date in the citation file.
|
|
53
|
+
filename = "./citation.cff"
|
|
54
|
+
regex = true
|
|
55
|
+
search = "date-released: \\d{{4}}-\\d{{2}}-\\d{{2}}"
|
|
56
|
+
replace = "date-released: {utcnow:%Y-%m-%d}"
|
|
@@ -62,10 +62,10 @@ jobs:
|
|
|
62
62
|
# See repomatic/github/actions.py for rationale.
|
|
63
63
|
ref: ${{ github.sha }}
|
|
64
64
|
fetch-tags: true
|
|
65
|
-
- uses: astral-sh/setup-uv@v7.3.
|
|
65
|
+
- uses: astral-sh/setup-uv@v7.3.1
|
|
66
66
|
- name: Run repomatic metadata
|
|
67
67
|
id: project-metadata
|
|
68
|
-
run: uvx --no-progress 'repomatic==6.3.
|
|
68
|
+
run: uvx --no-progress 'repomatic==6.3.2' metadata --output "$GITHUB_OUTPUT"
|
|
69
69
|
|
|
70
70
|
fix-changelog:
|
|
71
71
|
name: 📋 Fix changelog
|
|
@@ -84,14 +84,14 @@ jobs:
|
|
|
84
84
|
with:
|
|
85
85
|
ref: ${{ github.sha }}
|
|
86
86
|
fetch-tags: true
|
|
87
|
-
- uses: astral-sh/setup-uv@v7.3.
|
|
87
|
+
- uses: astral-sh/setup-uv@v7.3.1
|
|
88
88
|
- name: Fix changelog dates and admonitions
|
|
89
89
|
env:
|
|
90
90
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
91
|
-
run: uvx --no-progress 'repomatic==6.3.
|
|
91
|
+
run: uvx --no-progress 'repomatic==6.3.2' lint-changelog --fix
|
|
92
92
|
- id: pr-metadata
|
|
93
93
|
run: >
|
|
94
|
-
uvx --no-progress 'repomatic==6.3.
|
|
94
|
+
uvx --no-progress 'repomatic==6.3.2' pr-body
|
|
95
95
|
--template fix-changelog
|
|
96
96
|
--output "$GITHUB_OUTPUT"
|
|
97
97
|
- uses: peter-evans/create-pull-request@v8.1.0
|
|
@@ -124,7 +124,7 @@ jobs:
|
|
|
124
124
|
with:
|
|
125
125
|
# Use github.sha, not workflow_run.head_sha (stale after release cycle).
|
|
126
126
|
ref: ${{ github.sha }}
|
|
127
|
-
- uses: astral-sh/setup-uv@v7.3.
|
|
127
|
+
- uses: astral-sh/setup-uv@v7.3.1
|
|
128
128
|
if: needs.project-metadata.outputs[format('{0}_bump_allowed', matrix.part)] == 'true'
|
|
129
129
|
- name: Install bump-my-version
|
|
130
130
|
if: needs.project-metadata.outputs[format('{0}_bump_allowed', matrix.part)] == 'true'
|
|
@@ -138,7 +138,7 @@ jobs:
|
|
|
138
138
|
- id: pr-metadata
|
|
139
139
|
if: needs.project-metadata.outputs[format('{0}_bump_allowed', matrix.part)] == 'true'
|
|
140
140
|
run: >
|
|
141
|
-
uvx --no-progress 'repomatic==6.3.
|
|
141
|
+
uvx --no-progress 'repomatic==6.3.2' pr-body
|
|
142
142
|
--template bump-version
|
|
143
143
|
--part "${{ matrix.part }}"
|
|
144
144
|
--output "$GITHUB_OUTPUT"
|
|
@@ -163,7 +163,7 @@ jobs:
|
|
|
163
163
|
runs-on: ubuntu-slim
|
|
164
164
|
steps:
|
|
165
165
|
- uses: actions/checkout@v6.0.2
|
|
166
|
-
- uses: astral-sh/setup-uv@v7.3.
|
|
166
|
+
- uses: astral-sh/setup-uv@v7.3.1
|
|
167
167
|
- name: Install bump-my-version
|
|
168
168
|
run: uv tool install 'bump-my-version==1.2.7'
|
|
169
169
|
# --- Freeze commit: freeze everything to the release version. ---
|
|
@@ -176,7 +176,7 @@ jobs:
|
|
|
176
176
|
- name: Prepare release
|
|
177
177
|
# Updates changelog and citation dates, comparison URL, and removes warning.
|
|
178
178
|
# Also hard-codes version in workflow URLs for kdeldycke/repomatic repository.
|
|
179
|
-
run: uvx --no-progress 'repomatic==6.3.
|
|
179
|
+
run: uvx --no-progress 'repomatic==6.3.2' release-prep
|
|
180
180
|
- name: Prepare repository
|
|
181
181
|
run: |
|
|
182
182
|
git config --global user.name "${{ github.actor }}"
|
|
@@ -188,9 +188,9 @@ jobs:
|
|
|
188
188
|
- name: Re-target main branch in workflows
|
|
189
189
|
# This step is only used in the original repository to automate remote URL tagging.
|
|
190
190
|
if: github.repository == 'kdeldycke/repomatic'
|
|
191
|
-
run: uvx --no-progress 'repomatic==6.3.
|
|
191
|
+
run: uvx --no-progress 'repomatic==6.3.2' release-prep --post-release
|
|
192
192
|
- name: Add new changelog entry
|
|
193
|
-
run: uvx --no-progress 'repomatic==6.3.
|
|
193
|
+
run: uvx --no-progress 'repomatic==6.3.2' changelog ./changelog.md
|
|
194
194
|
- name: Version bump
|
|
195
195
|
run: bump-my-version bump --verbose patch
|
|
196
196
|
- name: Sync uv.lock
|
|
@@ -201,7 +201,7 @@ jobs:
|
|
|
201
201
|
v${{ steps.get_version.outputs.current_version }} → v$(bump-my-version show current_version)"
|
|
202
202
|
- id: pr-metadata
|
|
203
203
|
run: >
|
|
204
|
-
uvx --no-progress 'repomatic==6.3.
|
|
204
|
+
uvx --no-progress 'repomatic==6.3.2' pr-body
|
|
205
205
|
--template prepare-release
|
|
206
206
|
--version "${{ steps.get_version.outputs.current_version }}"
|
|
207
207
|
--output "$GITHUB_OUTPUT"
|
|
@@ -31,10 +31,10 @@ jobs:
|
|
|
31
31
|
build_targets: ${{ steps.extend-matrix.outputs.targets }}
|
|
32
32
|
steps:
|
|
33
33
|
- uses: actions/checkout@v6.0.2
|
|
34
|
-
- uses: astral-sh/setup-uv@v7.3.
|
|
34
|
+
- uses: astral-sh/setup-uv@v7.3.1
|
|
35
35
|
- name: Run repomatic metadata
|
|
36
36
|
id: project-metadata
|
|
37
|
-
run: uvx --no-progress 'repomatic==6.3.
|
|
37
|
+
run: uvx --no-progress 'repomatic==6.3.2' --verbosity DEBUG metadata --output "$GITHUB_OUTPUT"
|
|
38
38
|
- name: Extend matrix with ubuntu-slim
|
|
39
39
|
id: extend-matrix
|
|
40
40
|
run: |
|
|
@@ -52,5 +52,5 @@ jobs:
|
|
|
52
52
|
runs-on: ${{ matrix.os }}
|
|
53
53
|
steps:
|
|
54
54
|
- uses: crazy-max/ghaction-dump-context@v2.3.0
|
|
55
|
-
- uses: astral-sh/setup-uv@v7.3.
|
|
55
|
+
- uses: astral-sh/setup-uv@v7.3.1
|
|
56
56
|
- run: uvx --no-progress 'extra-platforms==9.2.0'
|
|
@@ -22,10 +22,10 @@ jobs:
|
|
|
22
22
|
doc_files: ${{ steps.project-metadata.outputs.doc_files }}
|
|
23
23
|
steps:
|
|
24
24
|
- uses: actions/checkout@v6.0.2
|
|
25
|
-
- uses: astral-sh/setup-uv@v7.3.
|
|
25
|
+
- uses: astral-sh/setup-uv@v7.3.1
|
|
26
26
|
- name: Run repomatic metadata
|
|
27
27
|
id: project-metadata
|
|
28
|
-
run: uvx --no-progress 'repomatic==6.3.
|
|
28
|
+
run: uvx --no-progress 'repomatic==6.3.2' metadata --output "$GITHUB_OUTPUT"
|
|
29
29
|
|
|
30
30
|
deploy-docs:
|
|
31
31
|
name: 📖 Deploy Sphinx doc
|
|
@@ -35,7 +35,7 @@ jobs:
|
|
|
35
35
|
runs-on: ubuntu-slim
|
|
36
36
|
steps:
|
|
37
37
|
- uses: actions/checkout@v6.0.2
|
|
38
|
-
- uses: astral-sh/setup-uv@v7.3.
|
|
38
|
+
- uses: astral-sh/setup-uv@v7.3.1
|
|
39
39
|
- name: Install Graphviz
|
|
40
40
|
# So we can use the sphinx.ext.graphviz plugin.
|
|
41
41
|
# See: https://www.sphinx-doc.org/en/master/usage/extensions/graphviz.html
|
|
@@ -69,7 +69,7 @@ jobs:
|
|
|
69
69
|
runs-on: ubuntu-slim
|
|
70
70
|
steps:
|
|
71
71
|
- uses: actions/checkout@v6.0.2
|
|
72
|
-
- uses: astral-sh/setup-uv@v7.3.
|
|
72
|
+
- uses: astral-sh/setup-uv@v7.3.1
|
|
73
73
|
- name: Install Graphviz
|
|
74
74
|
if: >
|
|
75
75
|
fromJSON(needs.project-metadata.outputs.is_python_project)
|
|
@@ -111,7 +111,7 @@ jobs:
|
|
|
111
111
|
env:
|
|
112
112
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
113
113
|
run: >
|
|
114
|
-
uvx --no-progress 'repomatic==6.3.
|
|
114
|
+
uvx --no-progress 'repomatic==6.3.2' broken-links
|
|
115
115
|
${{ steps.lychee_run.outputs.exit_code != '' && format(
|
|
116
116
|
'--lychee-exit-code {0}',
|
|
117
117
|
steps.lychee_run.outputs.exit_code) || '' }}
|