Skip to content

Commit

Permalink
ci(pre-commit): Check all code with CI
Browse files Browse the repository at this point in the history
Keep the code clean and secure.
  • Loading branch information
5ouma committed Dec 6, 2024
1 parent 8d47516 commit dee4cd4
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/pre-commit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: 🚸 pre-commit

on:
push:
branches: [main]
pull_request:

jobs:
pre-commit:
runs-on: Ubuntu-Latest

steps:
- name: 🚸 Run pre-commit
uses: 5ouma/utils/pre-commit@c1a3a841a7aa50337b15fe6f92f8d5f56c441cfb # main
with:
config: data/pre-commit.yml
1 change: 1 addition & 0 deletions .typos.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ OnyX = "OnyX"

[default.extend-words]
iterm = "iterm"
Pn = "Pn"
1 change: 1 addition & 0 deletions data/pre-commit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ repos:
rev: v0.43.0
hooks:
- id: markdownlint-fix
args: [--disable, MD013, MD023, MD024, MD033, MD036]

- repo: https://github.com/koalaman/shellcheck-precommit
rev: v0.10.0
Expand Down

0 comments on commit dee4cd4

Please sign in to comment.