-
Notifications
You must be signed in to change notification settings - Fork 18
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
fix(ci): forgot the no codegen message #482
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 |
@@ -7,13 +7,14 @@ import TabItem from '@theme/TabItem'; | |||
|
|||
<Tabs |
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.
the branch is outdated?
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.
yep I forgot to rebase
.github/actions/setup/action.yml
Outdated
@@ -92,7 +92,7 @@ runs: | |||
echo "::set-output name=RUN_JS_ALGOLIASEARCH::true" | |||
fi | |||
|
|||
if [[ ${{ steps.diff.outputs.JS_UTILS_CHANGED }} > 0 ]]; then | |||
if [[ ${{ steps.diff.outputs.JS_UTILS_CHANGED }} > 0 || ${{ steps.diff.outputs.JS_CLIENT_CHANGED }} > 0 ]]; then |
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.
Ah it's because it's actually base_changed
that is triggered here. It could maybe be useful that https://github.com/algolia/api-clients-automation/blob/main/scripts/ci/githubActions/createMatrix.ts#L74-L78 sets an output variable for the language like BASE_<LANGUAGE_NAME>_CHANGED
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.
good idea, I think it works that way
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.
Nice ty!
🧭 What and Why
The CI was not editing the message when no code is generated.
Changes included:
pushGeneratedCode
script🧪 Test
CI