From d8401afeae01a8af4be3828c88ab899410f2fca7 Mon Sep 17 00:00:00 2001 From: Soheil Salmani Date: Sun, 2 Oct 2022 15:03:55 +0200 Subject: [PATCH] Exercise 13 --- .github/workflows/lint-commit-messages.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .github/workflows/lint-commit-messages.yml diff --git a/.github/workflows/lint-commit-messages.yml b/.github/workflows/lint-commit-messages.yml new file mode 100644 index 0000000..b2882bf --- /dev/null +++ b/.github/workflows/lint-commit-messages.yml @@ -0,0 +1,17 @@ +name: Lint commit messages + +on: + pull_request: + types: [opened, edited, reopened] + +jobs: + lint: + runs-on: ubuntu-latest + steps: + - name: Checkout repo + uses: actions/checkout@v3 + with: + fetch-depth: 0 + + - name: Lint commit messages + uses: wagoid/commitlint-github-action@v5