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

ci: make semgrep check diff-aware #26516

Merged
merged 1 commit into from Jul 15, 2021
Merged

Conversation

ankush
Copy link
Member

@ankush ankush commented Jul 15, 2021

change: use semgrep-action instead of CLI tool to only fail PRs which introduce a new failure.

Output:
Screenshot 2021-07-15 at 7 26 03 PM

https://github.com/returntocorp/semgrep-action/pull/292 makes semgrep-action usable with old forks that don't have config. In any case, the configs have been around for quite a long time now.

@ankush ankush changed the title ci: make semgrep ignore existing errors ci: make semgrep check diff-aware Jul 15, 2021
@ankush ankush merged commit 1b5f3cf into frappe:develop Jul 15, 2021
ankush added a commit to ankush/erpnext that referenced this pull request Jul 15, 2021
ankush added a commit that referenced this pull request Jul 15, 2021
asoral pushed a commit to asoral/erpnext that referenced this pull request Nov 12, 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.

None yet

1 participant