From c7e69a6680d4cd9c8e48fb54a97abdc892c4a918 Mon Sep 17 00:00:00 2001 From: Samuel Mutel <12967891+smutel@users.noreply.github.com> Date: Fri, 11 Aug 2023 17:14:44 +0200 Subject: [PATCH] ci: Check title of PR / commit msg --- .github/workflows/pr.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 2d307c013..8293c5060 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -18,6 +18,8 @@ jobs: access_token: ${{ secrets.github_token }} close: false strict: false + title_pattern: '([fix|enh|feat|ci|chore|docs\-]+)(\([\w\-]+\))?!?: [A-Z][\w\s:\-]+' + commit_pattern: '([fix|enh|feat|ci|chore|docs\-]+)(\([\w\-]+\))?!?: [A-Z][\w\s:\-]+' - name: Checkout uses: actions/checkout@v3.5.3