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

chore(ci): stop CI from push generated code when no up to date #421

Merged
merged 3 commits into from
Apr 25, 2022

Conversation

millotp
Copy link
Collaborator

@millotp millotp commented Apr 25, 2022

🧭 What and Why

To prevent the CI from failing when a PR is merged before it had time to generate code.
It will just stop the CI and wait for the new one the generate the code

🧪 Test

CI

@millotp millotp self-assigned this Apr 25, 2022
@netlify
Copy link

netlify bot commented Apr 25, 2022

Deploy Preview for api-clients-automation canceled.

Name Link
🔨 Latest commit 735d04f
🔍 Latest deploy log https://app.netlify.com/sites/api-clients-automation/deploys/6266750b81e57b0008957cdf

@algolia-bot
Copy link
Collaborator

algolia-bot commented Apr 25, 2022

✗ The generated branch has been deleted.

If the PR has been merged, you can check the generated code on the main branch.

Copy link
Member

@shortcuts shortcuts left a comment

Choose a reason for hiding this comment

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

Good idea!

scripts/ci/codegen/pushGeneratedCode.ts Outdated Show resolved Hide resolved
Copy link
Member

@shortcuts shortcuts left a comment

Choose a reason for hiding this comment

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

:very_nice:

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.

3 participants