Skip to content

Validate pr title for traceability markers (infra) #6

Validate pr title for traceability markers (infra)

Validate pr title for traceability markers (infra) #6

Workflow file for this run

on:
pull_request:
types:
- opened
- reopened
- ready_for_review
- synchronize
- edited
jobs:
validate_title:
runs-on: ubuntu-latest
steps:
- name: Checking the presence of the Traceability Marker in the PR title
env:
PR_TITLE: ${{ github.event.pull_request.title }}
run: echo "$PR_TITLE" | grep -iP "(infra|bugfix|new|breaking)\)?$"