Skip to content

Commit accaa9e

Browse files
committed
pass target branch
1 parent 0e33df0 commit accaa9e

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 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
permissions:
3747
contents: write
@@ -98,6 +108,7 @@ jobs:
98108
uses: OneSignal/sdk-actions/.github/workflows/create-release.yml@main
99109
with:
100110
release_branch: ${{ needs.prep.outputs.release_branch }}
111+
target_branch: ${{ inputs.target_branch }}
101112
android_from: ${{ needs.update-version.outputs.android_from }}
102113
android_to: ${{ inputs.android_version }}
103114
ios_from: ${{ needs.update-version.outputs.ios_from }}

0 commit comments

Comments
 (0)