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

Trivy test #2

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Trivy test #2

wants to merge 3 commits into from

Conversation

bsardo
Copy link
Owner

@bsardo bsardo commented Feb 8, 2023

No description provided.

onkarvhanumante and others added 3 commits February 3, 2023 15:41
- Trivy checks whether any dependency mentioned in the go.mod file needs any security patch upgrade.

- Github action runs Trivy scans on pull request changes or the newly merged commit in the master branch.

- Pull requests may not make changes to the go.mod file. So we can skip Trivy scans for such cases. For this, commit adds the paths filter [1] check for pull request event.

References:
- [1] https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#onpushpull_requestpull_request_targetpathspaths-ignore
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.

2 participants