Skip to content

Commit

Permalink
chore: fix pr.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ariwk committed Oct 22, 2024
1 parent 292b256 commit aca2551
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 0 additions & 1 deletion .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ jobs:
- uses: actions/setup-python@f677139bbe7f9c59b41e40162b753c062f5d49a3 # v5
with:
python-version: 3.x
cache: pip
- run: pip install commitizen
- name: Check commit messages
run: cz check --rev-range origin/${GITHUB_BASE_REF}..
3 changes: 3 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ repos:
- id: no-commit-to-branch
- id: mixed-line-ending
- id: end-of-file-fixer
- id: pretty-format-json
args: [--autofix, --no-ensure-ascii, '--top-keys=openapi,info,servers,paths,components']
files: docs/openapi.json
- repo: local
hooks:
- id: sensitive-data-leak-urls
Expand Down

0 comments on commit aca2551

Please sign in to comment.