Skip to content

Commit

Permalink
ci(lint): fix semgrep
Browse files Browse the repository at this point in the history
  • Loading branch information
Serpentiel committed Nov 8, 2023
1 parent 602935a commit d47c084
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,13 @@ jobs:
semgrep:
runs-on: ubuntu-latest
if: (github.event_name == 'pull_request' && !contains(github.event.pull_request.labels.*.name, 'skip workflows')) || github.event_name == 'push'
container:
image: returntocorp/semgrep
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: returntocorp/semgrep-action@v1
- run: semgrep ci --config auto --no-suppress-errors

make_lint:
runs-on: ubuntu-latest
Expand Down

0 comments on commit d47c084

Please sign in to comment.