-
Notifications
You must be signed in to change notification settings - Fork 17
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
chore: make CI push code to main #369
Conversation
✅ Deploy Preview for api-clients-automation canceled.
|
✗ The generated branch has been deleted.If the PR has been merged, you can check the generated code on the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this enough ? the generated/main
branch should not exists anymore after this, but you are pushing the generated commit to generatedCodeBranch
Good eyes 👀 |
console.log(`Checking codegen status on '${baseBranch}'.`); | ||
|
||
const nbDiff = await getNbGitDiff({ | ||
branch: 'origin/generated/main', | ||
branch: baseBranch, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
baseBranch
is not very true, it should be currentBranch
, but it's not important
🧭 What and Why
🎟 JIRA Ticket: https://algolia.atlassian.net/browse/APIC-426
Changes included:
Remove the
generated/main
logic to make the CI push generated code tomain
as a short term solution. We should iterate on the long term solution once we have time to dedicate to this.Next step:
GitHub hook to remove generated code on
pre-commit
🧪 Test
CI :D