Skip to content

Commit

Permalink
Set API token for Actions using GH_TOKEN
Browse files Browse the repository at this point in the history
We're seeing timeouts in testing and this appears to now be the appropriate environmental variable, not GITHUB_PAT:
https://docs.github.com/en/rest/authentication/authenticating-to-the-rest-api?apiVersion=2022-11-28
  • Loading branch information
ethanwhite committed Jul 13, 2024
1 parent 095d78d commit 64165e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/test-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
fail-fast: false
runs-on: ${{ matrix.os }}
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CRAN_REPO: https://packagemanager.rstudio.com/all/__linux__/focal/latest
steps:
- uses: actions/checkout@v2
Expand Down

0 comments on commit 64165e2

Please sign in to comment.