Merge pull request #5414 from gofogo/chore-pre-coomit-action

chore(code): add pre-commit github action
This commit is contained in:
Kubernetes Prow Robot 2025-05-19 00:43:30 -07:00 committed by GitHub
commit e5141de4d9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -55,3 +55,8 @@ jobs:
uses: stoplightio/spectral-action@2ad0b9302e32a77c1caccf474a9b2191a8060d83 # v0.8.11
with:
file_glob: 'api/*.yaml'
- uses: actions/setup-python@v3
# https://github.com/pre-commit/action
- name: Verify with pre-commit
uses: pre-commit/action@v3.0.1