diff --git a/.github/workflows/update-tools.yaml b/.github/workflows/update-tools.yaml index 3ccf74e..77a8aa0 100644 --- a/.github/workflows/update-tools.yaml +++ b/.github/workflows/update-tools.yaml @@ -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 diff --git a/.github/workflows/upgrade-release-tools.yaml b/.github/workflows/upgrade-release-tools.yaml index fe267c1..44d53ad 100644 --- a/.github/workflows/upgrade-release-tools.yaml +++ b/.github/workflows/upgrade-release-tools.yaml @@ -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 diff --git a/changelog.d/+refresh-project-lock-title.change.md b/changelog.d/+refresh-project-lock-title.change.md new file mode 100644 index 0000000..268e64f --- /dev/null +++ b/changelog.d/+refresh-project-lock-title.change.md @@ -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. diff --git a/docs/maintenance.md b/docs/maintenance.md index 910ea71..8df3759 100644 --- a/docs/maintenance.md +++ b/docs/maintenance.md @@ -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. @@ -96,13 +96,15 @@ 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: {} @@ -110,7 +112,8 @@ 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 @@ -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: |