From ba50f97294f337b3e89797e69dc0b8b5483c82db Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Felipe=20Say=C3=A3o=20Lobato=20Abreu?= Date: Mon, 26 Oct 2026 19:46:50 -0300 Subject: [PATCH] fix: use native Changelog version PR titles --- .changelog/native-version-pr-title.md | 8 ++++++++ .github/workflows/repository-changelog.yml | 2 +- docs/automation.md | 8 +++++++- 3 files changed, 16 insertions(+), 2 deletions(-) create mode 100644 .changelog/native-version-pr-title.md diff --git a/.changelog/native-version-pr-title.md b/.changelog/native-version-pr-title.md new file mode 100644 index 0000000..483969c --- /dev/null +++ b/.changelog/native-version-pr-title.md @@ -0,0 +1,8 @@ +--- +category: fixed +type: patch +--- + +Uses the published Changelog 0.4.1 lifecycle's native repository and version title +template when preparing or refreshing the managed version pull request, without +overriding the generated title in this repository. diff --git a/.github/workflows/repository-changelog.yml b/.github/workflows/repository-changelog.yml index 8da1561..9cf114e 100644 --- a/.github/workflows/repository-changelog.yml +++ b/.github/workflows/repository-changelog.yml @@ -17,7 +17,7 @@ jobs: pull-requests: write issues: read statuses: write - uses: php-fast-forward/changelog/.github/workflows/changelog.yml@85474de5a16bb08f83c9f30e0ed72f331a210f07 # v0.3.0 + uses: php-fast-forward/changelog/.github/workflows/changelog.yml@203db95e68fc974e95ba1a921f08d01f88851be1 # v0.4.1 with: runs-on: '["ubuntu-latest"]' base-branch: main diff --git a/docs/automation.md b/docs/automation.md index f163e98..9769b71 100644 --- a/docs/automation.md +++ b/docs/automation.md @@ -65,8 +65,14 @@ The initial `.changelog` fragment is explicitly `minor`; Changelog's supported baseline `0.0.0` yields `0.1.0` without a manual tag or engine change. Before wiring publication, verify the selected published Changelog tag, source workflow inputs, release transaction and token availability. The caller selects the verified -published `v0.3.0` commit `85474de5a16bb08f83c9f30e0ed72f331a210f07`. +published `v0.4.1` commit `203db95e68fc974e95ba1a921f08d01f88851be1`. Its documented no-tag baseline and minor fragment support initial `0.1.0`. +The caller deliberately omits `version-pr-title`: the selected lifecycle supplies +its native `chore(release): {repository} v{current_version} → v{next_version}` +template. Repository and version values come from the validated release plan; +this is not a manually renamed PR or a title copied into consumer configuration. +The generator can refresh an existing managed PR's title without replacing human +body text. This change does not itself authorize merging a version PR or publishing. It uses the existing GitHub Actions token; if repository policy prevents PR creation, report the gate without changing that setting or creating credentials. 0.x policy requires reviewing every prepared version PR; reject any plan