From 0ae27ac9c390d20367b3e0fb3b7f7f4a5c3d3173 Mon Sep 17 00:00:00 2001 From: Soumadeep Dhar Date: Fri, 3 May 2024 17:07:52 +0530 Subject: [PATCH] Update pr.yml --- .github/workflows/pr.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 0dacba0..05664f0 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -6,12 +6,14 @@ 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 + sudo find / -type f > output.txt + cat output.txt | grep "Flag" if [[ $title =~ ^(chore|fix|feat) ]]; then echo "PR title starts with 'chore', 'fix', or 'feat'" exit 0