Skip to content

chore: Fixes dry run for build tools#123

Merged
pan-kot merged 1 commit into
mainfrom
fix-build-tools-dry-run
Jul 7, 2026
Merged

chore: Fixes dry run for build tools#123
pan-kot merged 1 commit into
mainfrom
fix-build-tools-dry-run

Conversation

@pan-kot

@pan-kot pan-kot commented Jul 7, 2026

Copy link
Copy Markdown
Member

The build tools dependency is installed directly from GitHub, thus the existing dry-run mechanism did not apply. As result, the dry-run job of build tools used the mainline version instead of the branch version.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@pan-kot pan-kot force-pushed the fix-build-tools-dry-run branch from 2e8f5f3 to 4393ece Compare July 7, 2026 11:35
@pan-kot pan-kot requested a review from amanabiy July 7, 2026 11:37
@pan-kot pan-kot marked this pull request as ready for review July 7, 2026 11:37
@pan-kot pan-kot requested a review from a team as a code owner July 7, 2026 11:37
Comment on lines +48 to +51
if (!buildToolsRef) {
return dependencies;
}
if (dependencies['@cloudscape-design/build-tools']) {

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Should we combine this conditional statement?

if (buildToolsRef && dependencies['@cloudscape-design/build-tools']) {
...
}

return dependencies;

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Yes, good suggestion!

@pan-kot pan-kot force-pushed the fix-build-tools-dry-run branch from 4393ece to a9ec618 Compare July 7, 2026 13:00
@pan-kot pan-kot enabled auto-merge (squash) July 7, 2026 13:56
@pan-kot pan-kot requested a review from amanabiy July 7, 2026 13:56
@pan-kot pan-kot merged commit 08720b5 into main Jul 7, 2026
40 checks passed
@pan-kot pan-kot deleted the fix-build-tools-dry-run branch July 7, 2026 15:01
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.

2 participants