Can't update github workflows (refusing to allow an OAuth App to create or update workflow without `workflow` scope)
terminalnode opened this issue · comments
Alexander Rundberg commented
sl pr submit --draft
pushing 1 to https://github.com/MyOrg/MyProject
abort: `git --git-dir /path/to/project/.sl/store/git push --force https://github.com/MyOrg/MyProject a443cbe2450bd5ea5ae1ae080c75d6cd128675d3:refs/heads/pr596` failed with exit code 1: stdout:
stderr: To https://github.com/MyOrg/MyProject
! [remote rejected] a443cbe2450bd5ea5ae1ae080c75d6cd128675d3 -> pr596 (refusing to allow an OAuth App to create or update workflow `.github/workflows/linter.yml` without `workflow` scope)
error: failed to push some refs to 'https://github.com/MyOrg/MyProject'
This happened when I amended a commit to make changes to our workflows. Is there any way around it?