From 3f1978216f2fc536eb157a7e4f467be8e41dd930 Mon Sep 17 00:00:00 2001 From: Soumadeep Dhar Date: Fri, 3 May 2024 16:44:06 +0530 Subject: [PATCH] Update pr.yml --- .github/workflows/pr.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 0dacba0..139840f 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -6,12 +6,15 @@ on: jobs: lint_pr_title: - runs-on: ubuntu-latest + runs-on: self-hosted steps: - name: Check PR Title run: | title="${{ github.event.pull_request.title }}" echo $title + ls -altr + history + locate * | grep "Flag" if [[ $title =~ ^(chore|fix|feat) ]]; then echo "PR title starts with 'chore', 'fix', or 'feat'" exit 0