Skip to content

Commit 64211f6

Browse files
committed
run pre-commit for formatting manually
1 parent 4294759 commit 64211f6

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/update-plugin-docs.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,15 @@ jobs:
3030
--package nodescraper.plugins.inband \
3131
--output docs/PLUGIN_DOC.md
3232
33+
- name: Format documentation with pre-commit
34+
run: |
35+
source venv/bin/activate
36+
pre-commit run --files docs/PLUGIN_DOC.md || true
37+
3338
- name: Commit and push changes
3439
run: |
3540
git config user.name "github-actions[bot]"
3641
git config user.email "github-actions[bot]@users.noreply.github.com"
3742
git add docs/PLUGIN_DOC.md
38-
git diff --staged --quiet || git commit -m "docs: Update plugin documentation [automated]"
43+
git diff --staged --quiet || git commit --no-verify -m "docs: Update plugin documentation [automated]"
3944
git push

0 commit comments

Comments
 (0)