Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main' into fix/partition-lookup-…
Browse files Browse the repository at this point in the history
…role-arn
  • Loading branch information
corymhall committed Sep 7, 2024
2 parents b11ae69 + ce81aeb commit 31e6731
Show file tree
Hide file tree
Showing 8 changed files with 248 additions and 242 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/build.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .github/workflows/release.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions .github/workflows/upgrade-main.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

30 changes: 15 additions & 15 deletions dist/index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

18 changes: 9 additions & 9 deletions package.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions src/action.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@ export async function run() {
const context = github.context;
try {
const assembly = AssemblyManifestReader.fromPath(inputs.cdkOutDir);
let stages = assembly.stages;
if (!stages.length) {
stages = [{
const stages = assembly.stages;
if (assembly.stacks.length) {
stages.push({
name: 'DefaultStage',
stacks: assembly.stacks,
}];
});
}
const comments = new Comments(octokit, context);
const processor = new StageProcessor(stages, inputs.allowedDestroyTypes);
Expand Down
Loading

0 comments on commit 31e6731

Please sign in to comment.