From e4662079cc6581fd88b24c80241b16e8fa969335 Mon Sep 17 00:00:00 2001 From: Stefan Dej Date: Fri, 3 Nov 2023 23:21:29 +0100 Subject: [PATCH] chore: add workflow to check PR title for conventional commits spec Signed-off-by: Stefan Dej --- .github/workflows/check-pr-title.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/check-pr-title.yml diff --git a/.github/workflows/check-pr-title.yml b/.github/workflows/check-pr-title.yml new file mode 100644 index 000000000..bedaa8e42 --- /dev/null +++ b/.github/workflows/check-pr-title.yml @@ -0,0 +1,19 @@ +name: Check PR title + +on: + pull_request_target: + types: + - opened + - reopened + - edited + - synchronize + +jobs: + lint: + runs-on: ubuntu-latest + permissions: + statuses: write + steps: + - uses: aslafy-z/conventional-pr-title-action@v3 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}