Skip to content

A workflow "bot" that would apply formatting fixes and create a PR against a PR? #14835

Open
@dweiss

Description

@dweiss

Description

There are more different tools now used to harness code quality. I wonder if it'd be possible to create a workflow that would:

  • run a set of designated formatting-validation tasks,
  • if these fail, apply automatic fixes (like the tidy task), try to rerun formatting validation tasks again,
  • if the fixes are successful, file a pull request against the original repository/branch (a PR against a PR).

We could even make this workflow an opt-in - using "commands" like the ones dependabot uses.

This is just an idea for anybody willing to play with it - I have no experience with such workflows and I probably won't have the time to dig deep into this. It seems like a fun task though.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions