Skip to content

Commit

Permalink
ci: 👷 new lints
Browse files Browse the repository at this point in the history
markdownlint and conventional commit format check
  • Loading branch information
djmaxus committed Dec 9, 2024
1 parent fca0ec4 commit dc2bbce
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/commit-lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
on:
push:
branches: ["main", "dev"]
pull_request:
branches: ["main", "dev"]
jobs:
commitlint:
runs-on: ubuntu-latest
steps:
- uses: opensource-nepal/commitlint@v1
17 changes: 17 additions & 0 deletions .github/workflows/markdownlint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
on:
push:
branches: ["main", "dev"]
pull_request:
branches: ["main", "dev"]

jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: DavidAnson/markdownlint-cli2-action@v18
with:
fix: true
globs: |
**/*.md
!CHANGELOG.md

0 comments on commit dc2bbce

Please sign in to comment.