From b002750d953b973d6a0853ebb5027b23e110d3de Mon Sep 17 00:00:00 2001 From: Pawel Rucki <12943682+pawelru@users.noreply.github.com> Date: Fri, 8 Nov 2024 11:09:50 +0100 Subject: [PATCH] use GITHUB_PAT --- .github/workflows/docs.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index 657b04479b..bae78e9a66 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -71,8 +71,9 @@ jobs: - name: Setup R dependencies 🎦 uses: insightsengineering/setup-r-dependencies@v1 + env: + GITHUB_PAT: ${{ steps.github-token.outputs.token }} with: - github-token: ${{ secrets.REPO_GITHUB_TOKEN }} repository-path: "./package" skip-desc-branch: true skip-desc-dev: true @@ -163,8 +164,9 @@ jobs: - name: Setup R dependencies 🎦 uses: insightsengineering/setup-r-dependencies@v1 + env: + GITHUB_PAT: ${{ steps.github-token.outputs.token }} with: - github-token: ${{ secrets.REPO_GITHUB_TOKEN }} repository-path: "./package" skip-desc-branch: true skip-desc-dev: true