Skip to content

[CI] Add dump_ast_matchers.py run to code-format CI workflow. #165418

@vbvictor

Description

@vbvictor

We use dump_ast_matchers.py script to update this auto-generated file in case someone make changes to ASTMatchers.

It wasn't enforced in CI so people didn't know or forgot to run it. We should enforce it in CI as part of premerge code-format job.

The idea is to run this script on code and check if it changed any lines. If it didn't change any lines - developer already ran it. If it did change some lines - the developer didn't run locally, thus they should do it and update their patch.

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