Skip to content

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.

3 participants