diff --git a/.codegen.json b/.codegen.json index b3012349..88e29e64 100644 --- a/.codegen.json +++ b/.codegen.json @@ -1 +1 @@ -{ "engineHash": "1a0f05b", "specHash": "6b64d06", "version": "0.1.0" } +{ "engineHash": "9ff9f04", "specHash": "3b8976e", "version": "0.1.0" } diff --git a/.github/workflows/autoupdate-pr.yml b/.github/workflows/autoupdate-pr.yml index 254d3f78..185ab949 100644 --- a/.github/workflows/autoupdate-pr.yml +++ b/.github/workflows/autoupdate-pr.yml @@ -12,7 +12,7 @@ jobs: - name: Checkout repository uses: actions/checkout@v4 with: - token: $ + token: ${{ secrets.DISPATCH_ACCESS_TOKEN }} - name: Set up Git run: | @@ -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 diff --git a/.github/workflows/spell-check-lint.yml b/.github/workflows/spell-check-lint.yml index a517793c..d2cad31c 100644 --- a/.github/workflows/spell-check-lint.yml +++ b/.github/workflows/spell-check-lint.yml @@ -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