]> git.ipfire.org Git - thirdparty/paperless-ngx.git/commitdiff
Fixes the pre-commit command
authorTrenton Holmes <797416+stumpylog@users.noreply.github.com>
Mon, 28 Nov 2022 03:22:03 +0000 (19:22 -0800)
committerTrenton Holmes <797416+stumpylog@users.noreply.github.com>
Mon, 28 Nov 2022 03:24:16 +0000 (19:24 -0800)
.github/workflows/ci.yml

index 8ccc93df2014fa30f1049f03eab6112ea87221c3..fff63b5eb3e204d3c1f5e8effcd995122d48d8ce 100644 (file)
@@ -523,7 +523,7 @@ jobs:
           CURRENT_CHANGELOG=`tail --lines +2 changelog.md`
           echo -e "$CURRENT_CHANGELOG" >> changelog-new.md
           mv changelog-new.md changelog.md
-          pipenv run pre-commit --files changelog.md
+          pipenv run pre-commit run --files changelog.md
           git config --global user.name "github-actions"
           git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com"
           git commit -am "Changelog ${{ needs.publish-release.outputs.version }} - GHA"