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)
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 ingit push
: