2020-12-27 17:40:00 +01:00
|
|
|
# For more information see: https://github.com/marketplace/actions/commit-linter
|
|
|
|
|
|
|
|
name: 'Lint Commit Messages'
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches: [master, develop]
|
2021-05-28 10:13:00 +02:00
|
|
|
pull_request:
|
2020-12-27 17:40:00 +01:00
|
|
|
branches: [master, develop]
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
commitlint:
|
2021-02-14 19:28:15 +01:00
|
|
|
runs-on: 'ubuntu-latest'
|
2020-12-27 17:40:00 +01:00
|
|
|
steps:
|
2021-05-12 16:41:03 +02:00
|
|
|
- uses: 'actions/checkout@v2.3.4'
|
2020-12-27 17:40:00 +01:00
|
|
|
with:
|
|
|
|
fetch-depth: 0
|
2021-05-20 15:01:46 +02:00
|
|
|
- uses: 'wagoid/commitlint-github-action@v3.1.4'
|
2021-02-26 11:02:14 +01:00
|
|
|
with:
|
|
|
|
configFile: '.commitlintrc.json'
|