Skip to content

Commit 15c3946

Browse files
authored
ci: remove extraneous inputs from release workflow (#1854)
1 parent b81c22c commit 15c3946

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

.github/workflows/create-release-pr.yml

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,11 @@ on:
1616
description: 'New iOS SDK Version (e.g., 1.5.0). Leave blank to skip.'
1717
required: false
1818
type: string
19+
target_branch:
20+
description: 'Target branch to create the release PR on. Defaults to main.'
21+
required: false
22+
type: string
23+
default: main
1924

2025
# For making a release pr from cordova github actions
2126
workflow_dispatch:
@@ -32,6 +37,11 @@ on:
3237
description: 'New iOS SDK Version (e.g., 1.5.0). Leave blank to skip.'
3338
required: false
3439
type: string
40+
target_branch:
41+
description: 'Target branch to create the release PR on. Defaults to main.'
42+
required: false
43+
type: string
44+
default: main
3545

3646
jobs:
3747
prep:
@@ -66,7 +76,6 @@ jobs:
6676
cd examples/RNOneSignalTS
6777
bun install --frozen-lockfile
6878
69-
7079
- name: Get current native SDK versions
7180
id: current_versions
7281
run: |
@@ -142,8 +151,7 @@ jobs:
142151
uses: OneSignal/sdk-actions/.github/workflows/create-release.yml@main
143152
with:
144153
release_branch: ${{ needs.prep.outputs.release_branch }}
145-
version_from: ${{ needs.update-version.outputs.rn_from }}
146-
version_to: ${{ inputs.rn_version }}
154+
target_branch: ${{ inputs.target_branch }}
147155
android_from: ${{ needs.update-version.outputs.android_from }}
148156
android_to: ${{ inputs.android_version }}
149157
ios_from: ${{ needs.update-version.outputs.ios_from }}

0 commit comments

Comments
 (0)