Skip to content

Commit 616c96a

Browse files
authored
chore: If both CLI and Scaffold are updated, validate both (#16958)
<!-- 🎉 Thank you for making CloudQuery awesome by submitting a PR 🎉 --> #### Summary If both CLI and Scaffold were changed we should add `validate-release` for each one <!-- Use the following steps to ensure your PR is ready to be reviewed - [ ] Read the [contribution guidelines](https://github.com/cloudquery/cloudquery/blob/main/CONTRIBUTING.md) 🧑‍🎓 - [ ] Run `make lint` to ensure the proposed changes follow the coding style 🚨 (install golangci-lint [here](https://golangci-lint.run/usage/install/#local-installation)) - [ ] Run `make test` to ensure the proposed changes pass the tests 🧪 - [ ] If changing a source plugin run `make gen` to ensure docs are up to date 📝 - [ ] Ensure the status checks below are successful ✅ --->
1 parent 8b80adf commit 616c96a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

scripts/workflows/wait_for_required_workflows.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,13 @@ module.exports = async ({github, context}) => {
3333
return
3434
}
3535

36-
// Validate Go Releaser only if we are testing the CLI or scaffold
37-
if (actions.includes("cli") || actions.includes("scaffold")) {
36+
if (actions.includes("scaffold")) {
3837
actions = [...actions, 'validate-release']
3938
}
4039

4140
// We test the CLI on multiple OSes, so we need to wait for all of them
4241
if (actions.includes("cli")) {
42+
actions = [...actions, 'validate-release']
4343
actions = actions.filter(action => action !== "cli")
4444
actions = ["cli (ubuntu-latest)", "cli (windows-latest)", "cli (macos-latest)", ...actions]
4545
}

0 commit comments

Comments
 (0)