From b9b9b81bdac7d94c5cb429b0a480e437c1d5517b Mon Sep 17 00:00:00 2001 From: Abhishek Jain Date: Tue, 13 Aug 2024 22:40:12 +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 00000000..33d14b49 --- /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)'