From a2a01fae9b3b539ea972529714ff64c4fcb76878 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Burak=20Emre=20Kabakc=C4=B1?= Date: Sat, 11 Apr 2026 01:17:46 +0100 Subject: [PATCH] fix(ci): put version in release-please PR title + add workflow_dispatch MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Without a \`pull-request-title-pattern\`, release-please v4 generated release PR titles of the form \`chore: release main\` — no version in the title. After merging, release-please couldn't parse its own merged PR to determine what version to tag, aborting with "untagged, merged release PRs outstanding". That's what blocked both 3.1.0 and 3.1.1 from flowing through the release-please publish job end-to-end (had to manually publish each via \`gh workflow run publish-packages.yml\`). Set \`pull-request-title-pattern\` to \`chore(main): release \${version}\` so the PR title matches the old working format and release-please can extract the version post-merge. Also add \`workflow_dispatch\` to \`release-please.yml\` so the workflow can be re-triggered manually without pushing a dummy commit when the state needs a kick. --- .github/workflows/release-please.yml | 1 + release-please-config.json | 1 + 2 files changed, 2 insertions(+) diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml index d79461be7..640e0e422 100644 --- a/.github/workflows/release-please.yml +++ b/.github/workflows/release-please.yml @@ -4,6 +4,7 @@ on: push: branches: - main + workflow_dispatch: permissions: contents: write diff --git a/release-please-config.json b/release-please-config.json index 5e6e32e65..827a7ccdd 100644 --- a/release-please-config.json +++ b/release-please-config.json @@ -9,6 +9,7 @@ "prerelease": false, "separate-pull-requests": false, "changelog-path": "CHANGELOG.md", + "pull-request-title-pattern": "chore(main): release ${version}", "packages": { ".": { "package-name": "@lobu/gateway",