Skip to content

Commit

Permalink
chore: Fix generating static .github/workflows files (box/box-codegen…
Browse files Browse the repository at this point in the history
  • Loading branch information
box-sdk-build committed Sep 30, 2024
1 parent 2b8d221 commit 8d1ae8f
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .codegen.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{ "engineHash": "1a0f05b", "specHash": "6b64d06", "version": "1.6.0" }
{ "engineHash": "244ba36", "specHash": "6b64d06", "version": "1.6.0" }
4 changes: 2 additions & 2 deletions .github/workflows/autoupdate-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v4
with:
token: $
token: ${{ secrets.DISPATCH_ACCESS_TOKEN }}

- name: Set up Git
run: |
Expand All @@ -24,7 +24,7 @@ jobs:

- name: Auto update pull requests
run: |
PR_LIST=$(curl -s -H "Authorization: Bearer $" "https://api.github.com/repos/$GITHUB_REPOSITORY/pulls?state=open" | jq -r '.[] | .head.ref')
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')
for pr_branch in $PR_LIST; do
git checkout "$pr_branch"
if git merge origin/main; then
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/spell-check-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
with:
ref: refs/heads/main
repository: box/box-sdk-spellchecker
token: $
token: ${{ secrets.DISPATCH_ACCESS_TOKEN }}
path: spellchecker
- name: Execute spellchecker
uses: ./spellchecker
6 changes: 3 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 8d1ae8f

Please sign in to comment.