Skip to content

Commit

Permalink
feat: conventional commits static analysis
Browse files Browse the repository at this point in the history
Use linting to ensure proper commit messages. This will use the default
config out of the box, and we can add more if we feel the need.
  • Loading branch information
SimonRichardson committed Jul 3, 2024
1 parent ca1da69 commit 9710c80
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/static-analysis.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: "Static Analysis"
on:
push:
branches: [master]
pull_request:
types: [opened, synchronize, reopened, ready_for_review]

permissions:
contents: read

jobs:
conventional-commits:
name: Check conventional commits
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: wagoid/commitlint-github-action@v6

0 comments on commit 9710c80

Please sign in to comment.