From 2b1ad320fe6caa42b8cc10fafef6ffde62f0fa2d Mon Sep 17 00:00:00 2001 From: Eric Fennis Date: Thu, 10 Oct 2024 05:16:17 +0200 Subject: [PATCH] Add PR title linting --- .github/workflows/linting.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/.github/workflows/linting.yml b/.github/workflows/linting.yml index cdc76ea5a..5ec105608 100644 --- a/.github/workflows/linting.yml +++ b/.github/workflows/linting.yml @@ -23,3 +23,24 @@ jobs: - name: Run Linter run: pnpm lint + + pr-title: + runs-on: ubuntu-latest + steps: + - uses: amannn/action-semantic-pull-request@v5 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + types: | + fix + feat + perf + refactor + test + style + docs + ci + build + requireScope: true + ignoreLabels: | + bot