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 cd4ebd4 commit fc1f1dc
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 fc1f1dc

Please sign in to comment.