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: fix specs deps #478

Merged
merged 2 commits into from
May 6, 2022
Merged

chore: fix specs deps #478

merged 2 commits into from
May 6, 2022

Conversation

shortcuts
Copy link
Member

🧭 What and Why

🎟 JIRA Ticket: -

Changes included:

(Sorry for all the issues)

specs job should run whenever a client needs to run, see issue on #475

🧪 Test

CI :D

@shortcuts shortcuts requested review from damcou and millotp May 6, 2022 08:45
@shortcuts shortcuts self-assigned this May 6, 2022
@netlify
Copy link

netlify bot commented May 6, 2022

Deploy Preview for api-clients-automation canceled.

Name Link
🔨 Latest commit aedc641
🔍 Latest deploy log https://app.netlify.com/sites/api-clients-automation/deploys/6274e84609a71b0009c7697d

@algolia-bot
Copy link
Collaborator

algolia-bot commented May 6, 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
Collaborator

@millotp millotp left a comment

Choose a reason for hiding this comment

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

It's weird to call it SPECS_CHANGED now, it should be SHOULD_RUN_SPECS or something

@shortcuts
Copy link
Member Author

It's weird to call it SPECS_CHANGED now, it should be SHOULD_RUN_SPECS or something

Yep we could definitely make keys more describing too

@damcou
Copy link
Contributor

damcou commented May 6, 2022

It's weird to call it SPECS_CHANGED now, it should be SHOULD_RUN_SPECS or something

Yep we could definitely make keys more describing too

So if I understand correctly, every *_CHANGED key means that you have to run the corresponding job depending on if the related files have changed ? In that case I agree it can be changes as Pierre suggested.

@shortcuts shortcuts requested a review from millotp May 6, 2022 09:20
@@ -133,7 +133,7 @@ outputs:
value: ${{
steps.diff.outputs.GITHUB_ACTIONS_CHANGED > 0 ||
steps.diff.outputs.SCRIPTS_CHANGED > 0 ||
steps.diff.outputs.SPECS_CHANGED > 0 ||
steps.diff.outputs.SHOULD_RUN_SPECS > 0 ||
Copy link
Collaborator

Choose a reason for hiding this comment

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

If it's only used here then you can remove the check for TEMPLATE_CHANGED, as it's included in SHOULD_RUN_SPECS

Copy link
Member Author

Choose a reason for hiding this comment

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

I'd be in favor of doing the clean in a later PR as I'm not sure anything else won't break D:

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.

4 participants