Skip to content

Commit f1cc14b

Browse files
committed
fix: Fix autoupdate PR workflow (box/box-codegen#810)
1 parent 389eda1 commit f1cc14b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.codegen.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{ "engineHash": "a7489ea", "specHash": "ec8720b", "version": "0.1.0" }
1+
{ "engineHash": "91b0f90", "specHash": "ec8720b", "version": "0.1.0" }

.github/workflows/autoupdate-pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
PR_LIST=$(curl -s -H "Authorization: Bearer ${{ secrets.DISPATCH_ACCESS_TOKEN }}" "https://api.github.com/repos/$GITHUB_REPOSITORY/pulls?state=open" | jq -r '.[] | .head.ref')
2828
for pr_branch in $PR_LIST; do
2929
git checkout "$pr_branch"
30-
if git merge origin/main; then
30+
if git merge origin/sdk-gen; then
3131
git push
3232
else
3333
# Conflict occurred, resolve by keeping our changes

0 commit comments

Comments
 (0)