Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix PAT issue in GHA #92

Open
maelle opened this issue Oct 21, 2022 · 2 comments
Open

fix PAT issue in GHA #92

maelle opened this issue Oct 21, 2022 · 2 comments

Comments

@maelle
Copy link
Member

maelle commented Oct 21, 2022

@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

GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}

with

GITHUB_PAT: ${{ secrets.MY_GITHUB_PAT }}

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.

@ScientificProgrammer
Copy link
Contributor

Hi Maelle,

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?

@maelle
Copy link
Member Author

maelle commented Oct 21, 2022

Yes it sounds reasonable as a short term solution to create one for you and one for the repo settings (I use my own PAT locally). :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants