You might end up with this error when trying to edit and push your Github pipeline from visual studio code or the terminal.
! [remote rejected] feature/init -> feature/init (refusing to allow an OAuth App to create or update workflow .github/workflows/ci.yml without workflow scope) error: failed to push some refs to
You don’t need to use a personal access token with workflow enabled or a github_token. What you do is deleting the credential and let it do the connection configuration itself when connecting.
Search -> Credentials Manager -> Windows Credentials -> Remove the github.com credentials
Afterwards do the git push again and connect with github.