Skip to content

Commit

Permalink
fix(ci): semgrep job
Browse files Browse the repository at this point in the history
  • Loading branch information
ivan-savciuc committed Nov 16, 2023
1 parent e2ae2b3 commit 5a0ce45
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +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@v3
- uses: returntocorp/semgrep-action@v1
- uses: actions/checkout@v4
with:
fetch-depth: 0
- run: semgrep ci --config auto --no-suppress-errors

make_lint:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 5a0ce45

Please sign in to comment.