Skip to content

chore: auto-determine version in create release PRs workflow - #1796

Merged
fadi-george merged 2 commits into
mainfrom
fadi/create-release-pr-determine-version
Nov 6, 2026
Merged

fadi-george merged 2 commits into
mainfrom
fadi/create-release-pr-determine-version

Conversation

@fadi-george

@fadi-george fadi-george commented Nov 6, 2026 •

Copy link
Copy Markdown
Collaborator

Description

One Line Summary

Auto-determine the release version in the Create Release PRs workflow, matching the Capacitor SDK.

Details

Motivation

Removes the need to manually pick the next version. The version is derived from merged PR titles since the last stable release using the shared determine-next-version action from sdk-shared, same as OneSignal-Capacitor-SDK.

Scope

  • version input is now optional. Blank means auto-detect; a value overrides it (still needed for pre-releases like 5.2.3-beta-01).
  • New determine-version job: !: → major, feat: → minor, fix:/perf: → patch.
  • If no releasable PRs are found, prep and all downstream jobs are skipped.
  • All jobs read the version from determine-version outputs. github.event.inputs.* switched to inputs.*.
  • Release jobs move from the retired macos-14 runner to macos-latest, and Xcode from pinned 15.2 (unavailable there) to latest-stable. This also applies to publish-release.yml.

Testing

Manual testing

YAML validated locally. Not run yet; can be verified by dispatching the workflow from this branch with a blank version and checking the determine-version job output.

Affected code checklist

  • Notifications
    • Display
    • Open
    • Push Processing
    • Confirm Deliveries
  • Outcomes
  • Sessions
  • In-App Messaging
  • REST API requests
  • Public API changes

Checklist

Overview

  • I have filled out all REQUIRED sections above
  • PR does one thing
  • Any Public API changes are explained in the PR details and conform to existing APIs

Testing

  • I have included test coverage for these changes, or explained why they are not needed
  • All automated tests pass, or I explained why that is not possible
  • I have personally tested this on my device, or explained why that is not possible

Final pass

  • Code is as readable as possible.
  • I have reviewed this PR myself, ensuring it meets each checklist item

🤖 Generated with Claude Code

fadi-george and others added 2 commits November 6, 2026 15:09
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
macos-14 runner image is retired.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@fadi-george
fadi-george requested a review from nan-li November 6, 2026 23:13
@fadi-george
fadi-george merged commit e2c4ade into main Nov 6, 2026
@fadi-george
fadi-george deleted the fadi/create-release-pr-determine-version branch November 6, 2026 23:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants