diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index a861d60a97..c368b2cb9a 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -7,9 +7,6 @@ on: branches: [main] pull_request: -permissions: - contents: write - jobs: create-table-on-pr: if: github.event_name == 'pull_request' @@ -35,6 +32,8 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 + with: + token: ${{ secrets.RELEASE }} - uses: actions/setup-python@v4 with: @@ -50,8 +49,6 @@ jobs: make build-docs - name: Push table - env: - GITHUB_TOKEN: ${{ github.token }} run: | git config --global user.email "github-actions[bot]@users.noreply.github.com" git config --global user.name "github-actions[bot]"