Closed forrestfwilliams closed 5 months ago
@jhkennedy and @jtherrmann I'd enjoy hearing your thoughts on this one.
Maybe try checking what perms are available to tools-bot
: https://github.com/orgs/ASFHyP3/people/tools-bot (if possible)
tools-bot
has a classic token with these perms:
Here's the new screenshot (in two pieces)
@forrestfwilliams and I ran into this issue (or a similar issue) running hyp3-cookiecutter
to create hyp3-back-projection
. We missed updating $GITHUB-PAK
, and had to go back to fix it. Could this be included as a variable in the cookiecutter.json
file, rather than hardcoding it to be $GITHUB-PAK
?
@jtherrmann @forrestfwilliams for our own repos, you can just change GITHUB_PAK
to TOOLS_BOT_PAK
. GITHUB_PAK was intended to be the generic version of that for external users.
But, yes, documenting what's needed here is a good idea.
Actually, it's already in the README with a screenshot: https://github.com/ASFHyP3/hyp3-cookiecutter?tab=readme-ov-file#6-create-a-personal-access-key-for-github-actions
Looks like @forrestfwilliams did in https://github.com/ASFHyP3/hyp3-cookiecutter/pull/31, but we never closed the issue
Looks like I should have read my own documentation ðŸ˜!
In order to get the CI/CD working correctly, the user of the cookiecutter will need to create a Personal Access Token with a certain set of permissions. We should document: