From 5b7251d5ec9bd742078cb1626eec9b5d3ad45672 Mon Sep 17 00:00:00 2001 From: David Steiner Date: Thu, 22 Jan 2026 10:26:26 +0100 Subject: [PATCH] Add github workflow to check PR title --- .github/workflows/lint-pr-title.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 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 0000000..fa177ea --- /dev/null +++ b/.github/workflows/lint-pr-title.yml @@ -0,0 +1,26 @@ +name: 'Lint PR' + +on: + pull_request_target: + types: + - opened + - reopened + - edited + +jobs: + main: + name: Validate PR title + runs-on: ubuntu-slim + permissions: + pull-requests: read + steps: + - uses: amannn/action-semantic-pull-request@v6 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + types: | + fix + feat + chore + deps + docs