Skip to content

Commit

Permalink
Merge branch 'main' into add-context-to-deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
ecrupper authored Jan 18, 2024
2 parents f684c67 + d79d3a5 commit e7cc8da
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/validate-pr-title.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@ name: validate PR title
# trigger on pull_request events of the opened & edited type.
on:
pull_request:
types: [ opened, synchronize, edited, reopened ]
types: [opened, synchronize, edited, reopened]

# pipeline to execute
jobs:
validate:
runs-on: ubuntu-latest

steps:
- name: validate title
run: |
echo "${{ github.event.pull_request.title }}" | grep -Eq '^(feat|fix|chore|refactor|enhance|test|docs)\(.*\):.*$' && (echo "Pass"; exit 0) || (echo "Incorrect Format. Please see https://go-vela.github.io/docs/community/contributing_guidelines/#development-workflow"; exit 1)
- name: validate title
run: |
echo "${{ github.event.pull_request.title }}" | grep -Eq '^(feat|fix|chore|refactor|enhance|test|docs)(\(.*\)|):\s.+$' && (echo "Pass"; exit 0) || (echo "Incorrect Format. Please see https://go-vela.github.io/docs/community/contributing_guidelines/#development-workflow"; exit 1)

0 comments on commit e7cc8da

Please sign in to comment.