Skip to content

Commit

Permalink
Merge pull request juju#1068 from SimonRichardson/conventional-commits
Browse files Browse the repository at this point in the history
juju#1068

#### Description

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.



#### QA Steps

Ensure that the commits are correctly linted.


Fixes [JUJU-6215](https://warthogs.atlassian.net/browse/JUJU-6215)


[JUJU-6215]: https://warthogs.atlassian.net/browse/JUJU-6215?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
  • Loading branch information
jujubot authored Jul 11, 2024
2 parents d0a18d3 + 2b4c3ec commit 4737dc8
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/static-analysis.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
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 4737dc8

Please sign in to comment.