Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PR must fail when generated code is not committed #1046

Merged
merged 3 commits into from
Nov 7, 2024

Conversation

Yang-33
Copy link
Contributor

@Yang-33 Yang-33 commented Nov 6, 2024

When some code are changed by modifying code generator or templates, forgetting to commit the expected changes can lead to mistakes. I want to enforce that the PR author commits the generated code, by causing the CI to fail if the generated code is not committed. This PR achieves that.

@Yang-33 Yang-33 merged commit d65cca1 into line:master Nov 7, 2024
6 checks passed
@Yang-33 Yang-33 deleted the check-no-diff-in-ci branch November 7, 2024 04:37
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