Skip to content

Commit

Permalink
Disables re-writing Semgrep rule names in Makefile and GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
gdavison committed Sep 3, 2021
1 parent 9d99631 commit 04a2629
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0

- name: semgrep
uses: returntocorp/semgrep-action@v1
env:
REWRITE_RULE_IDS: 0
2 changes: 1 addition & 1 deletion GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@ tools:
cd tools && go install github.com/pavius/impi/cmd/impi

semgrep:
@docker run --rm --volume "${PWD}:/src" returntocorp/semgrep --config .semgrep
@docker run --rm --volume "${PWD}:/src" returntocorp/semgrep --config .semgrep --no-rewrite-rule-ids

.PHONY: lint test tools

0 comments on commit 04a2629

Please sign in to comment.