Skip to content

Instantly share code, notes, and snippets.

@JulienQNN
Created October 7, 2025 12:49
Show Gist options
  • Select an option

  • Save JulienQNN/0cf35fe70ce8a48ec4d5337de634ee41 to your computer and use it in GitHub Desktop.

Select an option

Save JulienQNN/0cf35fe70ce8a48ec4d5337de634ee41 to your computer and use it in GitHub Desktop.
Github Actions .pre-commit-config.yaml file
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v6.0.0
hooks:
- id: check-yaml
- id: trailing-whitespace
args: ["--markdown-linebreak-ext=md"]
- id: check-added-large-files
- id: check-merge-conflict
- id: check-vcs-permalinks
- id: detect-private-key
- id: detect-aws-credentials
args: ["--allow-missing-credentials"]
- id: end-of-file-fixer
- repo: https://github.com/rhysd/actionlint
rev: v1.7.7
hooks:
- id: actionlint
- repo: https://github.com/python-jsonschema/check-jsonschema
rev: 0.34.0
hooks:
- id: check-github-actions
- id: check-github-workflows
- repo: https://github.com/alessandrojcm/commitlint-pre-commit-hook
rev: v9.13.0
hooks:
- id: commitlint
args: ["--config", ".pre-commit-config/commitlint.config.js"]
stages: [commit-msg]
additional_dependencies: ["@commitlint/config-conventional"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment