diff --git a/.github/workflows/sync-deps.yml b/.github/workflows/sync-deps.yml index 177608a05e..57a059c16e 100644 --- a/.github/workflows/sync-deps.yml +++ b/.github/workflows/sync-deps.yml @@ -6,8 +6,8 @@ jobs: name: update deps runs-on: ubuntu-latest permissions: - # Give the default GITHUB_TOKEN write permission to commit and push the changed files back to the repository. contents: write + pull-requests: write env: SUBQL_ACCESS_TOKEN: ${{ secrets.SUBQL_ACCESS_TOKEN }} SUBQL_ACCESS_TOKEN_TEST: ${{ secrets.SUBQL_ACCESS_TOKEN_TEST }} @@ -36,6 +36,5 @@ jobs: with: branch: ${{ steps.branch-name.outputs.branch }} commit-message: "Update @subql deps" - token: ${{ secrets.SQ_SDK_GITHUB_SECRET }} title: "Sync @subql dependencies" body-path: ".github/PULL_REQUEST_TEMPLATE.md"