diff options
Diffstat (limited to '.github/workflows/commit-lint.yml')
-rw-r--r-- | .github/workflows/commit-lint.yml | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/.github/workflows/commit-lint.yml b/.github/workflows/commit-lint.yml new file mode 100644 index 0000000..8b151cb --- /dev/null +++ b/.github/workflows/commit-lint.yml @@ -0,0 +1,19 @@ +on: pull_request + +name: CI + +jobs: + commitlint: + name: Commit lint + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@master + with: + fetch-depth: 0 + - name: Setup Python + uses: actions/setup-python@v4.0.0 + with: + python-version: '3.x' + - name: Install gitlint + run: pip install gitlint + - run: gitlint --commits $(git merge-base origin/master HEAD).. |