ci: Always bump cli and always create patch on dispatch (#32032)

This commit is contained in:
Matsu
2026-06-10 10:09:46 +03:00
committed by GitHub
parent b810bfde43
commit 0575adf439
2 changed files with 4 additions and 2 deletions
+2
View File
@@ -260,6 +260,8 @@ async function bumpVersions() {
propagateDirtyTransitively(packageMap, depsByPackage);
// Always mark the `cli` package as dirty, so it's version always gets incremented
packageMap["n8n"].isDirty = true;
// Keep the monorepo version up to date with the released version
packageMap['monorepo-root'].version = packageMap['n8n'].version;
@@ -46,7 +46,7 @@ jobs:
skip-release-pr:
name: Skip release PR (no new commits)
needs: [determine-version-info]
if: needs.determine-version-info.outputs.should_update != 'true'
if: needs.determine-version-info.outputs.should_update != 'true' && github.event_name != 'workflow_dispatch'
runs-on: ubuntu-latest
steps:
- name: Log skip reason
@@ -55,7 +55,7 @@ jobs:
create-release-pr:
name: Create release PR
needs: [determine-version-info]
if: needs.determine-version-info.outputs.should_update == 'true'
if: needs.determine-version-info.outputs.should_update == 'true' || github.event_name == 'workflow_dispatch'
uses: ./.github/workflows/release-create-pr.yml
secrets: inherit
with: