Skip to content

Add an option to disable GitHub annotations (createGitHubAnnotations)#45

Merged
adangel merged 1 commit intopmd:mainfrom
smetanink:main
Jan 31, 2022
Merged

Add an option to disable GitHub annotations (createGitHubAnnotations)#45
adangel merged 1 commit intopmd:mainfrom
smetanink:main

Conversation

@smetanink
Copy link
Copy Markdown
Contributor

@smetanink smetanink commented Jan 28, 2022

Add an option to disable GitHub annotations

A new action input has been added to allow ability to disable adding GitHub annotations.
This can be useful if generated .sarif file is parsing by another tool that also generates annotations.
Annotations will be generated by default for backwards compatibility.

input required default description
createGitHubAnnotations no "true" By default, all detected violations are added as annotations to the pull request. You can disable this by setting FALSE. This can be useful if you are using another tool for this purpose.

@adangel adangel changed the title Add an option to disable GitHub annotations Add an option to disable GitHub annotations (createGitHubAnnotations) Jan 31, 2022
Copy link
Copy Markdown
Member

@adangel adangel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, looks good!

@adangel adangel added this to the next milestone Jan 31, 2022
@adangel adangel added the enhancement New feature or request label Jan 31, 2022
@adangel adangel merged commit 0da8025 into pmd:main Jan 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants