Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .github/workflows/update-tools.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ jobs:
secrets:
RELEASE_APP_PRIVATE_KEY: ${{ secrets.RELEASE_APP_PRIVATE_KEY }}
with:
pull-request-title: "🔧 build: refresh release tool lock"
pull-request-body: "Refresh the locked tools used by release preparation and CI."
# Temporary: release-creator 4.3.2 is younger than seven days. Delete after 2026-11-06.
exclude-newer-package: release-creator=2026-10-30T15:13:19Z
2 changes: 1 addition & 1 deletion .github/workflows/upgrade-release-tools.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ on:
pull-request-title:
description: Title for the dependency pull request
type: string
default: "🔧 build(deps): refresh release tools"
default: "🔧 build(deps): refresh project lock"
pull-request-body:
description: Body for the dependency pull request
type: string
Expand Down
2 changes: 2 additions & 0 deletions changelog.d/+refresh-project-lock-title.change.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
The `upgrade-release-tools.yaml` pull request title now defaults to `🔧 build(deps): refresh project lock`, matching its
body: the run refreshes the whole project lock, not only the release tools.
38 changes: 21 additions & 17 deletions docs/maintenance.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,18 +54,18 @@ jobs:
RELEASE_APP_PRIVATE_KEY: ${{ secrets.RELEASE_APP_PRIVATE_KEY }}
```

| Input | Default | Purpose |
| ----------------------------------- | --------------------------------------- | ------------------------------------------------------------------------------------------- |
| `pull-request-title` | `🔧 build(deps): refresh release tools` | Pull request title, also the commit subject. |
| `pull-request-body` | `Refresh the project lock.` | Pull request body. |
| `additional-lock` | empty | Basename of a secondary Nab lock, such as `pylock.build.toml`, refreshed in the same PR. |
| `additional-lock-groups` | empty | Dependency groups to select in the secondary lock; empty selects build requirements. |
| `additional-lock-selection` | `build-or-groups` | Set `project` for a secondary lock that selects the project's runtime dependencies instead. |
| `additional-matrix-python` | empty | Python range for the secondary lock. |
| `additional-matrix-platforms` | empty | Space-separated Nab platform IDs for the secondary lock. |
| `additional-matrix-implementations` | empty | Space-separated implementations for the secondary lock. |
| `exclude-newer` | `7 days` | Cutoff for the tools the Actions install from PyPI, see [cutoffs](locked-tools.md#cutoffs). |
| `exclude-newer-package` | empty | Newline-separated `name=date` overrides of that cutoff. |
| Input | Default | Purpose |
| ----------------------------------- | -------------------------------------- | ------------------------------------------------------------------------------------------- |
| `pull-request-title` | `🔧 build(deps): refresh project lock` | Pull request title, also the commit subject. |
| `pull-request-body` | `Refresh the project lock.` | Pull request body. |
| `additional-lock` | empty | Basename of a secondary Nab lock, such as `pylock.build.toml`, refreshed in the same PR. |
| `additional-lock-groups` | empty | Dependency groups to select in the secondary lock; empty selects build requirements. |
| `additional-lock-selection` | `build-or-groups` | Set `project` for a secondary lock that selects the project's runtime dependencies instead. |
| `additional-matrix-python` | empty | Python range for the secondary lock. |
| `additional-matrix-platforms` | empty | Space-separated Nab platform IDs for the secondary lock. |
| `additional-matrix-implementations` | empty | Space-separated implementations for the secondary lock. |
| `exclude-newer` | `7 days` | Cutoff for the tools the Actions install from PyPI, see [cutoffs](locked-tools.md#cutoffs). |
| `exclude-newer-package` | empty | Newline-separated `name=date` overrides of that cutoff. |

Secret: `RELEASE_APP_PRIVATE_KEY` (required). No outputs.

Expand Down Expand Up @@ -96,21 +96,24 @@ on:
workflow_dispatch:
inputs:
cooldown:
description: Upload age a bumped release needs, such as 7 days; 0 days turns the cooldown off
description: Upload age a bumped release needs, such as 7 days; 0 days
turns the cooldown off
type: string
default: 7 days
expedite:
description: Space-separated packages whose newest release skips the cooldown for this run
description: Space-separated packages whose newest release skips the
cooldown for this run
type: string
default: ""
default: ''
schedule:
- cron: 0 8 * * 2
permissions: {}
jobs:
update:
permissions:
contents: read
uses: tox-dev/github-workflows/.github/workflows/update-python-dependencies.yaml@SHA
uses:
tox-dev/github-workflows/.github/workflows/update-python-dependencies.yaml@SHA
with:
files: |
pyproject.toml tox.toml
Expand Down Expand Up @@ -189,7 +192,8 @@ jobs:
needs: generate
permissions:
contents: read
uses: tox-dev/github-workflows/.github/workflows/open-maintenance-pr.yaml@SHA
uses:
tox-dev/github-workflows/.github/workflows/open-maintenance-pr.yaml@SHA
with:
artifact-id: ${{ needs.generate.outputs.artifact-id }}
allowed-paths: |
Expand Down