Skip to content

Autofix: single opt-in path from Post-CI; retire duplicate Autofix entry point #2883

Description

@github-actions

Topic GUID: be3ef56d-f2ef-54f5-8c16-0b7d379bdfb1

Why

You have two places that try to “do small hygiene fixes.” That’s how you get mysterious commits and finger-pointing. Make Post-CI the only invoker of the reusable autofix and delete the standalone PR autofix workflow, or vice versa. Pick one brain.
GitHub

Task List:

Wire maint-46-post-ci.yml to call the reusable autofix job only when the PR has autofix (and optionally autofix:clean).

Remove the separate Autofix workflow file that duplicates behavior.

Normalize the label name in code and docs to one string (autofix:clean recommended) and drop fallbacks.

Post a concise summary comment listing files touched and checks re-run.

Tasks

Not provided.

Acceptance criteria

Exactly one workflow path can perform autofix in PRs.

The chosen path is gated by an opt-in label and produces a single summarizing comment.

No duplicate “fix” commits for the same PR event.

Implementation notes

Use workflow_call with explicit inputs for dry-run and allowed file globs.

Keep the diff surface intentionally small: formatting, trivial lints, import order.


Synced by workflow run.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions