Skip to content

Commit b8f1cf9

Browse files
committed
add target_branch input
1 parent 7a20d71 commit b8f1cf9

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

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

Lines changed: 11 additions & 0 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:
@@ -141,6 +151,7 @@ jobs:
141151
uses: OneSignal/sdk-actions/.github/workflows/create-release.yml@main
142152
with:
143153
release_branch: ${{ needs.prep.outputs.release_branch }}
154+
target_branch: ${{ inputs.target_branch }}
144155
android_from: ${{ needs.update-version.outputs.android_from }}
145156
android_to: ${{ inputs.android_version }}
146157
ios_from: ${{ needs.update-version.outputs.ios_from }}

0 commit comments

Comments
 (0)