diff --git a/.forgejo/workflows/pre-commit.yaml b/.forgejo/workflows/pre-commit.yaml
index 3d27d48..aec3809 100644
--- a/.forgejo/workflows/pre-commit.yaml
+++ b/.forgejo/workflows/pre-commit.yaml
@@ -8,5 +8,7 @@ jobs:
   pre-commit:
     runs-on: self-hosted
     steps:
-    - uses: actions/checkout@v4
-    - uses: pre-commit/action@v3.0.1
+    - name: Checkout repository
+      uses: actions/checkout@v4
+    - name: Pre-commit
+      run: pre-commit run --show-diff-on-failure --color=always --all-files