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