We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 49af835 commit e89bb79Copy full SHA for e89bb79
scripts/ci/githubActions/createMatrix.ts
@@ -13,8 +13,9 @@ const EMPTY_MATRIX = { client: ['no-run'] };
13
14
async function createClientMatrix(baseBranch: string): Promise<void> {
15
const matrix: Record<string, ToRunMatrix> = {};
16
+ // PRs have origin/* as a baseBranch, main is always running from a specific commit
17
const commonDependenciesChanged =
- baseBranch === 'main' || (await isBaseChanged(baseBranch, COMMON_DEPENDENCIES));
18
+ !baseBranch.startsWith('origin/') || (await isBaseChanged(baseBranch, COMMON_DEPENDENCIES));
19
20
// iterate over every generators to see what changed
21
for (const { language, client, output } of Object.values(GENERATORS)) {
0 commit comments