Skip to content

VIH-10991 fix infra core #460

VIH-10991 fix infra core

VIH-10991 fix infra core #460

Workflow file for this run

name: Check PR title and project linting
on:
pull_request:
types:
- opened
- reopened
- edited
- synchronize
jobs:
lint:
if: "!contains(github.event.pull_request.head.ref, 'renovate')"
runs-on: ubuntu-latest
steps:
- name: NameCheck
env:
MATRIX_CONTEXT: ${{ toJson(github.event.pull_request) }}
run: echo "$MATRIX_CONTEXT"
- uses: deepakputhraya/action-pr-title@master
with:
regex: '^(VIH-[0-9]{4,5} [a-zA-Z0-9._\- ]+)|(\[Snyk\].+)$' # Regex the title should match.
allowed_prefixes: 'VIH-,[Snyk]' # title should start with the given prefix
prefix_case_sensitive: true # title prefix are case insensitive: