Skip to content

Commit b8b3de6

Browse files
committed
Parameter "createGitHubAnnotations" is optional
1 parent e8e7dc0 commit b8b3de6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ async function main() {
4343
core.setOutput('violations', violations);
4444
core.info(`PMD detected ${violations} violations.`);
4545

46-
if (core.getInput('createGitHubAnnotations', { required: true}) === 'true') {
46+
if (core.getInput('createGitHubAnnotations', { required: false }) === 'true') {
4747
const report = sarif.loadReport(reportFile);
4848
annotations.processSarifReport(report);
4949
}

0 commit comments

Comments
 (0)