From 36ed85041788b84aab6b010321b4d10f108e202f Mon Sep 17 00:00:00 2001 From: "Pengfei(Andy) Zhang" Date: Tue, 15 Oct 2024 13:22:05 -0400 Subject: [PATCH] style: check pr title with commitlint. --- .github/workflows/lint.yaml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .github/workflows/lint.yaml diff --git a/.github/workflows/lint.yaml b/.github/workflows/lint.yaml new file mode 100644 index 000000000..433b3eee5 --- /dev/null +++ b/.github/workflows/lint.yaml @@ -0,0 +1,14 @@ +on: + pull_request: + types: + - opened + - edited + - reopened + +name: Enforce PR Title Format +jobs: + main: + name: Validate PR title + runs-on: ubuntu-latest + steps: + - uses: amannn/action-semantic-pull-request@v5