Skip to content

Audit other workflows for the same "bot pushes straight to main" failure mode #140

Description

@yakew7

.github/workflows/build-explainers.yml used to auto-commit and git push straight to main. That silently started failing once the "Protect main" branch-protection ruleset began requiring PRs, because github-actions[bot]'s default token isn't in the ruleset's bypass list (only the Admin role is) - see CHANGELOG [2.0.8] for the fix (converted to a check-only gate).

Nothing has audited the other workflows for the same latent pattern. Request: grep .github/workflows/*.yml for any remaining git push (or gh pr merge, direct API writes) targeting main from a job using the default GITHUB_TOKEN, and fix any found the same way before they fail in production.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghelp wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions