Skip to content

Commit 7567eab

Browse files
committed
Fail when expected config does not exist
1 parent a9f7529 commit 7567eab

File tree

1 file changed

+1
-1
lines changed
  • .github/actions/check-codescanning-config

1 file changed

+1
-1
lines changed

.github/actions/check-codescanning-config/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ const actualConfig = loadActualConfig()
88

99
const rawExpectedConfig = process.argv[3].trim()
1010
if (!rawExpectedConfig) {
11-
core.info('No expected configuration provided')
11+
core.setFailed('No expected configuration provided')
1212
} else {
1313
core.startGroup('Expected generated user config')
1414
core.info(yaml.dump(JSON.parse(rawExpectedConfig)))

0 commit comments

Comments
 (0)