Skip to content

Commit 4737dc8

Browse files
authored
Merge pull request #1068 from SimonRichardson/conventional-commits
#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
2 parents d0a18d3 + 2b4c3ec commit 4737dc8

1 file changed

Lines changed: 18 additions & 0 deletions

File tree

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
name: "Static Analysis"
2+
on:
3+
push:
4+
branches: [master]
5+
pull_request:
6+
types: [opened, synchronize, reopened, ready_for_review]
7+
8+
permissions:
9+
contents: read
10+
11+
jobs:
12+
conventional-commits:
13+
name: Check conventional commits
14+
runs-on: ubuntu-latest
15+
steps:
16+
- uses: actions/checkout@v4
17+
- uses: wagoid/commitlint-github-action@v6
18+

0 commit comments

Comments
 (0)