#TIL 13 - How to fix refusing to allow an OAuth App to create or update workflow

May 20, 2021 · Dung Huynh

What

Fix OAuth app workflow scope rejection when pushing to GitHub.

Why

Personal access tokens need the workflow scope to modify GitHub Actions files.

How

Install Git Credential Manager Core:

# macOS
brew install git-credential-manager

# Or with gh CLI
gh auth switch

This authenticates with proper scopes automatically.