From bc77ccb4872a32272c5433f37a9380f7a1c9390c Mon Sep 17 00:00:00 2001 From: dylanhitt Date: Tue, 30 Jan 2024 17:07:59 -0500 Subject: [PATCH] ci: add commitlint --- .github/workflows/ci.yml | 2 +- .github/workflows/lint.yaml | 13 +++++++++++++ 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/lint.yaml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f99ad88..0359e70 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,4 +1,4 @@ -name: CI +name: test on: pull_request: diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml new file mode 100644 index 0000000..89db88b --- /dev/null +++ b/.github/workflows/lint.yaml @@ -0,0 +1,13 @@ +name: commit_lint +on: [pull_request] + +permissions: + contents: read + pull-requests: read + +jobs: + commitlint: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: wagoid/commitlint-github-action@v5