Skip to content

Commit 384751f

Browse files
chore: Fix auto-update job (box/box-codegen#856) (#1091)
1 parent d10195a commit 384751f

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

.codegen.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{ "engineHash": "10c68c7", "specHash": "62fdfd1", "version": "10.0.0" }
1+
{ "engineHash": "9334953", "specHash": "62fdfd1", "version": "10.0.0" }

.github/workflows/autoupdate-pr.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ on:
44
branches:
55
- main
66
- sdk-gen
7-
- combined-sdk
87

98
jobs:
109
update_pull_requests:
@@ -26,7 +25,7 @@ jobs:
2625

2726
- name: Auto update pull requests
2827
run: |
29-
PR_LIST=$(curl -s -H "Authorization: Bearer ${{ secrets.DISPATCH_ACCESS_TOKEN }}" "https://api.github.com/repos/$GITHUB_REPOSITORY/pulls?state=open&head=${{ github.ref_name }}" | jq -r '.[] | .head.ref')
28+
PR_LIST=$(curl -s -H "Authorization: Bearer ${{ secrets.DISPATCH_ACCESS_TOKEN }}" "https://api.github.com/repos/$GITHUB_REPOSITORY/pulls?state=open&base=${{ github.ref_name }}" | jq -r '.[] | .head.ref')
3029
for pr_branch in $PR_LIST; do
3130
git checkout "$pr_branch"
3231
if git merge origin/${{ github.ref_name }}; then

0 commit comments

Comments
 (0)