From 79fe1fe8f487eb92fdc39a089165d7e4283f5367 Mon Sep 17 00:00:00 2001 From: Christian Beilschmidt Date: Fri, 16 May 2025 10:36:43 +0200 Subject: [PATCH] lint pr title --- .github/workflows/lint-pr-title.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/lint-pr-title.yml diff --git a/.github/workflows/lint-pr-title.yml b/.github/workflows/lint-pr-title.yml new file mode 100644 index 00000000..e55660d9 --- /dev/null +++ b/.github/workflows/lint-pr-title.yml @@ -0,0 +1,27 @@ +name: "Lint PR" +on: + pull_request: + types: + - opened + - edited + +jobs: + title: + name: Title + if: github.event.action == 'opened' || github.event.changes.title.from + runs-on: ubuntu-latest + steps: + - uses: geo-engine/conventional-pr-title@v1 + with: + types: |- + build + ci + docs + feat + fix + perf + refactor + test + scopes: |- + library + examples