Open edwardchalstrey1 opened 2 months ago
I think if you use secrets.GITHUB_TOKEN
, those are automatically generated and don't have to be managed manually. I may be wrong, however, so double-check this?
I had to generate it from my personal account and add it to the repo where it is accessed via secrets.GITHUB_TOKEN
I think you're using a GH_TOKEN but, to be clear, what I'm saying is that there's an auto-generated token from GitHub that is called GITHUB_TOKEN
which I'm curious if it would work, without needing the manual setup:
At the start of each workflow job, GitHub automatically creates a unique GITHUB_TOKEN secret to use in your workflow. You can use the GITHUB_TOKEN to authenticate in the workflow job.
When you enable GitHub Actions, GitHub installs a GitHub App on your repository. The GITHUB_TOKEN secret is a GitHub App installation access token. You can use the installation access token to authenticate on behalf of the GitHub App installed on your repository. The token's permissions are limited to the repository that contains your workflow.
To test this, I guess I'd have to remove the secret I added - but before I do perhaps you can test on your fork, open a PR to yourself and see if it works?
To test this, I guess I'd have to remove the secret I added - but before I do perhaps you can test on your fork, open a PR to yourself and see if it works?
Yep - let me see!
Section of Documentation
Developer
Description of Improvement
build.yml
andtests.yml
GH actionsBenefits of Improvement
Development continuity
Additional Context
No response