Skip to content

Commit 6ddf917

Browse files
committed
fix(ci): Generate PR into caller branch for store-type updates.
Signed-off-by: spbsoluble <1661003+spbsoluble@users.noreply.github.com>
1 parent b19462b commit 6ddf917

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/update-stores.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ jobs:
187187
console.log("Commit to ${{env.KFUTIL_ARG}} for PR")
188188
const owner = context.repo.owner;
189189
const repo = context.repo.repo;
190-
const baseBranch = 'main';
190+
const baseBranch = context.ref.replace('refs/heads/', 'main'); // Default base branch is main
191191
const newBranch = '${{env.KFUTIL_ARG}}';
192192
const response = await github.rest.pulls.create({
193193
owner,

0 commit comments

Comments
 (0)