Skip to content

Commit

Permalink
build: run pre-commit on CHANGELOG.md in release action
Browse files Browse the repository at this point in the history
  • Loading branch information
martibosch committed Mar 29, 2024
1 parent 17a8c3a commit d1c85e9
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,13 @@ jobs:
- name: publish to pypi
uses: pypa/gh-action-pypi-publish@release/v1

- name: pre-commit on changelog
uses: pre-commit/[email protected]
with:
extra_args: --files CHANGELOG.md
# we only run this to format CHANGELOG.md so pre-commit will fail (yet format it)
continue-on-error: true

- name: commit changelog
uses: stefanzweifel/git-auto-commit-action@v4
with:
Expand Down

0 comments on commit d1c85e9

Please sign in to comment.