Skip to content

Commit

Permalink
Update pr.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
s0umadeep authored May 3, 2024
1 parent 38c32cc commit 3f19782
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3f19782

Please sign in to comment.