Skip to content

Commit e6bbbc9

Browse files
committed
fix(ci): pass ref to build.yml so RC build uses same branch as OTA check
1 parent f12eda7 commit e6bbbc9

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ on:
1414
type: boolean
1515
default: false
1616
ref:
17-
description: 'Git ref to checkout when skip_version_bump is true. Defaults to the triggering event ref.'
17+
description: 'Git ref (branch) to run the build against. Used as base-branch for version bump and for checkout when skip_version_bump is true. Defaults to the triggering event ref.'
1818
required: false
1919
type: string
2020
default: ''
@@ -60,7 +60,7 @@ jobs:
6060
contents: write
6161
id-token: write
6262
with:
63-
base-branch: ${{ github.ref_name }}
63+
base-branch: ${{ inputs.ref || github.ref_name }}
6464
secrets:
6565
PR_TOKEN: ${{ secrets.PR_TOKEN }}
6666

.github/workflows/runway_ios_rc_workflow.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,4 +144,5 @@ jobs:
144144
build_name: main-rc
145145
platform: ios
146146
skip_version_bump: false
147+
ref: ${{ inputs.ref || github.ref_name }}
147148
secrets: inherit

0 commit comments

Comments
 (0)