diff --git a/.github/workflows/create-release-pr.yml b/.github/workflows/create-release-pr.yml index eb37020a..86fe493e 100644 --- a/.github/workflows/create-release-pr.yml +++ b/.github/workflows/create-release-pr.yml @@ -16,6 +16,11 @@ on: description: 'New iOS SDK Version (e.g., 1.5.0). Leave blank to skip.' required: false type: string + target_branch: + description: 'Target branch to create the release PR on. Defaults to main.' + required: false + type: string + default: main # For making a release pr from cordova github actions workflow_dispatch: @@ -32,6 +37,11 @@ on: description: 'New iOS SDK Version (e.g., 1.5.0). Leave blank to skip.' required: false type: string + target_branch: + description: 'Target branch to create the release PR on. Defaults to main.' + required: false + type: string + default: main jobs: prep: @@ -66,7 +76,6 @@ jobs: cd examples/RNOneSignalTS bun install --frozen-lockfile - - name: Get current native SDK versions id: current_versions run: | @@ -142,8 +151,7 @@ jobs: uses: OneSignal/sdk-actions/.github/workflows/create-release.yml@main with: release_branch: ${{ needs.prep.outputs.release_branch }} - version_from: ${{ needs.update-version.outputs.rn_from }} - version_to: ${{ inputs.rn_version }} + target_branch: ${{ inputs.target_branch }} android_from: ${{ needs.update-version.outputs.android_from }} android_to: ${{ inputs.android_version }} ios_from: ${{ needs.update-version.outputs.ios_from }}