Skip to content

ci: verify that codegen is up-to-date - #1095

Merged
mahkoh merged 2 commits into
masterfrom
jorth/codegen-check
Jul 15, 2026
Merged

ci: verify that codegen is up-to-date#1095
mahkoh merged 2 commits into
masterfrom
jorth/codegen-check

Conversation

@mahkoh

@mahkoh mahkoh commented Jul 15, 2026

Copy link
Copy Markdown
Owner

No description provided.

Copilot AI review requested due to automatic review settings July 15, 2026 12:52
github-actions[bot]
github-actions Bot previously approved these changes Jul 15, 2026
github-actions[bot]
github-actions Bot previously approved these changes Jul 15, 2026
github-actions[bot]
github-actions Bot previously approved these changes Jul 15, 2026
github-actions[bot]
github-actions Bot previously approved these changes Jul 15, 2026
github-actions[bot]
github-actions Bot previously approved these changes Jul 15, 2026

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds a dedicated CI workflow to ensure generated code remains up-to-date by running the project’s code generator and failing if it produces uncommitted changes.

Changes:

  • Add codegen/codegen.sh helper script to run codegen and formatting.
  • Add a new codegen GitHub Actions workflow that executes the script and checks for a clean git diff.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
codegen/codegen.sh New script to run the code generator and format the workspace.
.github/workflows/codegen.yml New CI workflow that runs codegen and fails if it changes tracked files.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread codegen/codegen.sh
Comment thread .github/workflows/codegen.yml Outdated
github-actions[bot]
github-actions Bot previously approved these changes Jul 15, 2026
github-actions[bot]
github-actions Bot previously approved these changes Jul 15, 2026
@mahkoh
mahkoh merged commit 235b67f into master Jul 15, 2026
13 checks passed
@mahkoh
mahkoh deleted the jorth/codegen-check branch July 15, 2026 13:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants