From 541bd9ea7d59d171122edf70b29cab7073061cb4 Mon Sep 17 00:00:00 2001 From: Abhishek Jain Date: Tue, 13 Aug 2024 22:30:18 +0530 Subject: [PATCH] feat: Add GitHub PR Checks Workflow --- .github/workflows/pr_checks_config.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 .github/workflows/pr_checks_config.yaml diff --git a/.github/workflows/pr_checks_config.yaml b/.github/workflows/pr_checks_config.yaml new file mode 100644 index 0000000..33d14b4 --- /dev/null +++ b/.github/workflows/pr_checks_config.yaml @@ -0,0 +1,10 @@ +pr_checks: + title: + - name: 'prefix_check' + regex: '^(?i)(fix|feat|test|chore|refactor|build):' + message_if_not_matching: 'PR title must start with "fix:", "feat:", "chore:", "refactor", or "test:" (case-insensitive)' + + description: + - name: 'clickup_check' + regex: '(?i)app.clickup.com' + message_if_not_matching: 'PR description must contain a link to a ClickUp (case-insensitive)'