Repository navigation
Description
Problem
GitHub refuses a push from the implement job when the branch changes a file under .github/workflows/. The text of the refusal is refusing to allow a GitHub App to create or update workflow. dreamscaper issue 4 has 28 comments that quote this refusal, and in the window 2026-11-03T15:05Z to 2026-11-04T15:05Z its Jobs used 16.0M input tokens. The item stays blocked, because a retry cannot change the refusal.
The cause is the token request. devops-cli-service holds read and write on all repository permissions (the owner read the App settings on 2026-11-04). CONST_GITHUB_APP_TOKEN_PERMISSIONS leaves out workflows, so no token can push a workflow file. ADR 0015 records that choice.
Decision
On 2026-11-04 the owner chose to add workflows: write to every installation token. The owner also considered two other options: a person makes each workflow edit, or a token gets the permission only for a push whose merged plan names a workflow file.
Expected
Each installation token asks for workflows: write and the permissions that it asks for now. A job can push a change to a file under .github/workflows/.
Acceptance criteria
CONST_GITHUB_APP_TOKEN_PERMISSIONSgivesworkflowsthe levelwrite.- A test proves that the body of the token request holds
workflows: write. - The HTTP 422 message names
workflows (write). - ADR 0015,
k8s/README.mdand the specgithub-app-identitystate the new list and the risk: a workflow on a pushed branch can run with the secrets of the repository before a person reviews it.
Existing tool considered
This item changes one value in a request to the GitHub REST API. It adds no tool.
Dependencies
None.
Activity
dan-petty commentedon Nov 4, 2026
Intake placed this item to the backlog: intake puts every new item in the backlog. A person plans the milestones.
fixprefix of the title gives the type.(roadmap)scope of the title gives the scope.The item is blocked and a retry cannot fix it; 16.0M tokens were spent in one day while waiting.Unblocks the implement job from pushing workflow file changes that are currently impossible.Changes one constant value, adds one test, and updates three documents.Both items change CONST_GITHUB_APP_TOKEN_PERMISSIONS, but #2473 removed permissions to narrow scope while this candidate adds workflows: write back to unblock a blocked push.devops-cli-service commentedon Nov 4, 2026
Released in v0.56.1: https://github.com/dan-petty/devops-cli/releases/tag/v0.56.1
devops-cli-service commentedon Nov 4, 2026
Live since 2026-11-04 21:54 UTC