Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test PR for dotnet-analyzers-action #20

Draft
wants to merge 35 commits into
base: main
Choose a base branch
from

Conversation

mavasani
Copy link

This will eventually be cloned into a separate repo. Creating this draft PR for ease of testing + review.

@mavasani mavasani marked this pull request as ready for review January 23, 2021 00:20
@mavasani mavasani marked this pull request as draft January 23, 2021 00:20
uses: ./
id: ossar

# Upload results to the Security tab
Copy link
Author

Choose a reason for hiding this comment

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

Not sure if we want to upload results from .NET analyzers run to security tab or not, as the analyzers are not restricted to just security analyzers. Will have to talk with @mikadumont to decide

Copy link
Contributor

Choose a reason for hiding this comment

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

GitHub would prefer if only security results were in the tab, as noise will make people not pay attention to critical issues. Should likely remove this for now. There may be a way to selectively export security-only rules with Guardian and a policy, although I am unfamiliar if we have that capability now.

sarif_file: ${{ steps.ossar.outputs.sarifFile }}
# Run .NET Analyzers
- name: Run .NET Analyzers
uses: github/dotnet-analyzers-action@v1
Copy link
Author

@mavasani mavasani Jan 25, 2021

Choose a reason for hiding this comment

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

This will likely be the new repo URL, but have to confirm with @mikadumont

Copy link

@mikadumont mikadumont Feb 6, 2021

Choose a reason for hiding this comment

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

Shouldnt it be called code-analysis?

Copy link
Author

Choose a reason for hiding this comment

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

Yep, I will fix it up in the cloned repo.

src/action.ts Outdated Show resolved Hide resolved
@mavasani mavasani closed this Feb 5, 2021
@mavasani mavasani reopened this Feb 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants