From 2f87b9fbf690d019e344f2dc2dc056b10bae6d87 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Iv=C3=A1n=20Ovejero?= Date: Thu, 20 Oct 2022 13:58:34 +0200 Subject: [PATCH] ci: introduce stricter PR title checks (#4363) :zap: Switch to `validate-n8n-pull-request-title` --- .github/workflows/check-pr-title.yml | 26 ++++++++------------------ 1 file changed, 8 insertions(+), 18 deletions(-) diff --git a/.github/workflows/check-pr-title.yml b/.github/workflows/check-pr-title.yml index 38f1c0db79..85011b7045 100644 --- a/.github/workflows/check-pr-title.yml +++ b/.github/workflows/check-pr-title.yml @@ -1,4 +1,4 @@ -name: Test Pull Request Semantics +name: Check PR title on: pull_request: @@ -10,23 +10,13 @@ on: jobs: check-pr-title: runs-on: ubuntu-latest - permissions: - checks: write - pull-requests: read - contents: read + timeout-minutes: 5 steps: - - uses: amannn/action-semantic-pull-request@v4 + - name: Check out branch + uses: actions/checkout@v3 + + - name: Validate PR title + id: validate_pr_title + uses: ivov/validate-n8n-pull-request-title@v1 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - with: - # https://www.notion.so/n8n/Release-Process-fce65faea3d5403a85210f7e7a60d0f8 - types: | - feat - fix - perf - test - docs - refactor - build - ci - requireScope: false