Skip to content

Commit

Permalink
Fix job, try use tailored Github Pat.
Browse files Browse the repository at this point in the history
  • Loading branch information
maciekbanas committed Oct 14, 2024
1 parent accef8a commit eda6be3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test-coverage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
test-coverage:
runs-on: ubuntu-latest
env:
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}
GITHUB_PAT: ${{ secrets.TEST_GITHUB_PAT }}
GITLAB_PAT_PUBLIC: ${{ secrets.GITLAB_PAT}}
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
USE_RENV: "FALSE"
Expand Down
2 changes: 1 addition & 1 deletion tests/testthat/test-helpers.R
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ test_that("`set_default_token` sets default token for public GitHub", {
test_that("`test_token` works properly", {
skip_on_cran()
expect_true(
github_testhost_priv$test_token(Sys.getenv("TEST_GITHUB_PAT"))
github_testhost_priv$test_token(Sys.getenv("GITHUB_PAT"))
)
expect_false(
github_testhost_priv$test_token("false_token")
Expand Down

0 comments on commit eda6be3

Please sign in to comment.