Skip to content

Commit

Permalink
fix: show infra state in notice message OK | Failed
Browse files Browse the repository at this point in the history
  • Loading branch information
jamacku committed Dec 8, 2023
1 parent 555997c commit bca99cc
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion dist/action.js

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

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

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

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

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

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

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/action.ts
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ async function action(pr: PullRequest): Promise<void> {
}

notice(`Final state is: ${finalState}`);
notice(`Infra state is: ${infraError}`);
notice(`Infra state is: ${infraError === '' ? 'OK' : 'Failed'}`);

// Set outputs
setOutput('request_id', tfResponse.id);
Expand Down

0 comments on commit bca99cc

Please sign in to comment.