neuroinformatics-unit / python-cookiecutter

Utility to create a basic Python project structure with tests, CI etc.
BSD 3-Clause "New" or "Revised" License
20 stars 3 forks source link

Document GitHub access tokens #33

Open niksirbi opened 1 year ago

niksirbi commented 1 year ago

If someone uses a Personal Access Token as authentication for GitHub, they should have the workflow scope enabled on that token. Otherwise, the following error is raised in git push:

! [remote rejected] main -> main (refusing to allow a Personal Access Token to create or update workflow `.github/workflows/test_and_deploy.yml` without `workflow` scope)