However, when I tried to push my branch to Github, I kept getting the following error:
! [remote rejected] dG -> dG (refusing to allow an OAuth App to create or update workflow `.github/workflows/dependencies/dependencies.sh` without `workflow` scope) error: failed to push some refs to 'https://github.com/ShiqiangXia/amrex.git'
I am not sure what went wrong. My git remote looks like this
origin https://github.com/MY_USERNAME/MY_FORK.git (fetch) origin https://github.com/MY_USERNAME/MY_FORK.git (push) upstream https://github.com/ORIGINAL_OWNER/ORIGINAL_REPOSITORY.git (fetch) upstream https://github.com/ORIGINAL_OWNER/ORIGINAL_REPOSITORY.git (push)
I am using git version 2.20.1 on MacOS 10.14.5.
Thanks a lot if anyone can help me solve this. Please let me know if you need more info.