Skip to content

[DevOps] Create pre-push hook that runs code generation #892

@choden-dev

Description

@choden-dev

Is your feature request related to a problem? Please describe.

Currently one of the main pains in the devx is having everything work locally but have your CI fail due to no types generated. We can prevent this with a pre push hook that runs codegen.

refer to the lefthook docs for more information https://github.com/evilmartians/lefthook?tab=readme-ov-file#tags

BEFORE MERGING

  • Acceptance criteria met
  • PR Reviewed (For non-trivial changes)
  • Changes tested after rebasing on master or merging in master (hint: git fetch origin master:master, then git rebase master or git merge master)
  • All required PR checks passing

Metadata

Metadata

Assignees

No one assigned

    Labels

    devopsAnything to do with development operations

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions