Skip to content

feat(automate): automate version bump for pre-commit repo #57

feat(automate): automate version bump for pre-commit repo

feat(automate): automate version bump for pre-commit repo #57

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