chore: update pre-commit to semgrep 1.91.0 #79
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jobs: | |
test-hooks: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Configure git safedir properly | |
run: git config --global --add safe.directory "$(pwd)" | |
- name: Fake update file | |
run: git mv tests/python_simple.py python_simple.py | |
- name: Test semgrep pre-commit hook | |
uses: pre-commit/[email protected] | |
with: | |
extra_args: semgrep --hook-stage manual --files python_simple.py | |
- name: Test semgrep-ci pre-commit hook | |
uses: pre-commit/[email protected] | |
with: | |
extra_args: semgrep-ci --hook-stage manual --files python_simple.py | |
- name: Test semgrep-docker-develop pre-commit hook | |
uses: pre-commit/[email protected] | |
with: | |
extra_args: semgrep-docker-develop --hook-stage manual --files python_simple.py | |
- name: Test semgrep-docker pre-commit hook | |
uses: pre-commit/[email protected] | |
with: | |
extra_args: semgrep-docker --hook-stage manual --files python_simple.py | |
name: pre-commit-hook-test | |
on: | |
pull_request: null | |
push: | |
branches: | |
- develop |