Skip to content

Commit

Permalink
.github/workflows: catch no stdout
Browse files Browse the repository at this point in the history
  • Loading branch information
uhthomas committed Jun 1, 2023
1 parent 4ab3f94 commit 199385f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/k8s-diff.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,11 @@ jobs:
return
}
if (!stdout) {
core.warning(`diff returned non-zero exit code, but no stdout`)
return
}
github.rest.issues.createComment({
issue_number: context.issue.number,
owner: context.repo.owner,
Expand Down

0 comments on commit 199385f

Please sign in to comment.