You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@ScientificProgrammer I can help with this if needed! The tests are failing (my fault, I should have foreseen this) because they use the default GitHub Personal Access Token for the actions as opposed to one with gist scope.
storing it in https://github.com/ropensci/gistr/settings/secrets/actions as MY_GITHUB_PAT (existing PATs there have probably expired now). Once it's there no one can view it, we admins can only renew it, and everyone with write access to this repository can use it in the GitHub Actions workflow.
in the GitHub Actions workflow referring to it, replacing
Making the tests independent from a personal access token using tools from https://books.ropensci.org/http-testing/ -- we could collaborate on this.
This is a better solution because it'd mean tests also pass when launched from an external fork in a pull request.
The text was updated successfully, but these errors were encountered:
I want to collaborate with you on the better solution, which is independent of a PAT.
However, as a short term solution, should I go ahead and create a PAT with fine grained permissions, since I'm familiar with that process? If so, should I create one each for you and me?
@ScientificProgrammer I can help with this if needed! The tests are failing (my fault, I should have foreseen this) because they use the default GitHub Personal Access Token for the actions as opposed to one with gist scope.
Easy workaround
What's needed
MY_GITHUB_PAT
(existing PATs there have probably expired now). Once it's there no one can view it, we admins can only renew it, and everyone with write access to this repository can use it in the GitHub Actions workflow.gistr/.github/workflows/R-CMD-check.yaml
Line 28 in 61f2003
with
Better solution
Making the tests independent from a personal access token using tools from https://books.ropensci.org/http-testing/ -- we could collaborate on this.
This is a better solution because it'd mean tests also pass when launched from an external fork in a pull request.
The text was updated successfully, but these errors were encountered: