Skip to content

Commit

Permalink
ci: install pre-commit hooks in release workflow
Browse files Browse the repository at this point in the history
- Adds a step to install pre-commit hooks before running them in the GitHub Actions release workflow. This ensures that any code style or other checks defined in the pre-commit configuration are applied automatically before a release is made.
  • Loading branch information
ericmjl committed Apr 8, 2024
1 parent 3552315 commit da8236d
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ jobs:
# llamabot configure api-key --api-key="{{ '${{ secrets.OPENAI_API_KEY }}' }}"
# llamabot configure default-model --model-name="{{ '${{ secrets.OPENAI_DEFAULT_MODEL }}' }}"
# llamabot git write-release-notes
# pre-commit install
# pre-commit run --all-files || true
# git add .
# git commit -m "Add release notes for {{ '${{ env.version_number }}' }}"
Expand Down

0 comments on commit da8236d

Please sign in to comment.