6 Commits

Author SHA1 Message Date
Philipp 1aea1ba3b1 chore: update lint workflow to include manual stage hooks
Lint / pre-commit Linting (push) Successful in 42s
Test / Run Tests (push) Successful in 53s
2026-05-16 16:52:17 +02:00
Philipp d674506e49 chore: set github action/workflow checks to manual stage
Lint / pre-commit Linting (push) Failing after 44s
Test / Run Tests (push) Successful in 51s
2026-05-16 16:49:29 +02:00
Philipp 8cf0be7fff chore: exclude no-commit-to-branch from manual stage
Lint / pre-commit Linting (push) Failing after 54s
Test / Run Tests (push) Successful in 1m9s
2026-05-16 16:47:27 +02:00
Philipp e5ceb46096 chore: add stage-distribution hook to ensure dist/ is committed
Lint / pre-commit Linting (push) Failing after 36s
Test / Run Tests (push) Successful in 1m6s
2026-05-16 16:46:06 +02:00
Philipp 28eb7c2971 chore: remove pre-push stage from pre-commit config
Lint / pre-commit Linting (push) Failing after 55s
Test / Run Tests (push) Successful in 1m2s
2026-05-16 16:42:28 +02:00
Philipp 3abc837f78 chore: configure pre-commit stages and add build hook
Lint / pre-commit Linting (push) Failing after 44s
Test / Run Tests (push) Successful in 4m36s
2026-05-16 16:28:07 +02:00
2 changed files with 23 additions and 2 deletions
+1 -1
View File
@@ -14,5 +14,5 @@ jobs:
- run: pip install pre-commit - run: pip install pre-commit
shell: bash shell: bash
- name: Pre Commit - name: Pre Commit
run: SKIP=no-commit-to-branch pre-commit run -a run: SKIP=no-commit-to-branch pre-commit run -a --hook-stage pre-commit --hook-stage manual
shell: bash shell: bash
+22 -1
View File
@@ -1,3 +1,4 @@
default_stages: [pre-commit, manual]
exclude: ^(dist|node_modules)/ exclude: ^(dist|node_modules)/
repos: repos:
- repo: https://github.com/pre-commit/pre-commit-hooks - repo: https://github.com/pre-commit/pre-commit-hooks
@@ -15,6 +16,7 @@ repos:
args: [--autofix, --no-sort-keys, --no-ensure-ascii] args: [--autofix, --no-sort-keys, --no-ensure-ascii]
- id: check-merge-conflict - id: check-merge-conflict
- id: no-commit-to-branch - id: no-commit-to-branch
stages: [pre-commit]
- repo: https://github.com/macisamuele/language-formatters-pre-commit-hooks - repo: https://github.com/macisamuele/language-formatters-pre-commit-hooks
rev: v2.16.0 rev: v2.16.0
@@ -33,14 +35,33 @@ repos:
hooks: hooks:
- id: check-renovate - id: check-renovate
- id: check-github-actions - id: check-github-actions
stages: [manual]
- id: check-github-workflows - id: check-github-workflows
stages: [manual]
- repo: https://github.com/pre-commit/pre-commit-hooks - repo: https://github.com/pre-commit/pre-commit-hooks
rev: v6.0.0 rev: v6.0.0
hooks: hooks:
- id: end-of-file-fixer - id: end-of-file-fixer
exclude: (.txt$|.ipynb$|README.md$|readme.mde$) exclude: (.txt$|.ipynb$|README.md$)
- id: trailing-whitespace - id: trailing-whitespace
exclude: (.txt$|README.md$) exclude: (.txt$|README.md$)
- id: mixed-line-ending - id: mixed-line-ending
args: [--fix=lf] args: [--fix=lf]
- repo: local
hooks:
- id: build
name: rebuild-distribution
entry: npm run build
language: system
files: ^(index\.js|monitor\.js|package\.json|package-lock\.json)$
pass_filenames: false
stages: [pre-commit]
- id: add-dist
name: stage-distribution
entry: git add dist/
language: system
files: ^(index\.js|monitor\.js|package\.json|package-lock\.json)$
pass_filenames: false
stages: [pre-commit]