Skip to content

Commit

Permalink
Fixed CI pipeline by updating pre-commit hooks.
Browse files Browse the repository at this point in the history
  • Loading branch information
MeenaBana committed Oct 14, 2024
1 parent 5887e73 commit 3288c46
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/ci-cd-webhook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,16 @@ jobs:
- name: Install dependencies
run: pip install -r requirements.txt

- name: Update pre-commit hooks
run: |
source .venv/bin/activate
pre-commit autoupdate
git config --global user.name 'github-actions'
git config --global user.email '[email protected]'
git add .pre-commit-config.yaml
git commit -m "Update pre-commit hooks" || echo "No changes to commit"
git push origin HEAD || echo "No changes to push"
- name: Run pre-commit checks
run: pre-commit run --all-files

Expand Down

0 comments on commit 3288c46

Please sign in to comment.