Skip to content

DEMRUM-1758: add deprecated legacy api mappings for SplunkSlowFrameDetector #118

DEMRUM-1758: add deprecated legacy api mappings for SplunkSlowFrameDetector

DEMRUM-1758: add deprecated legacy api mappings for SplunkSlowFrameDetector #118

Workflow file for this run

name: PR checks
on:
pull_request:
types: [opened, edited, reopened, synchronize]
jobs:
validate-title:
runs-on: ubuntu-latest
steps:
- name: Validate PR title
shell: bash
run: |
PR_TITLE="${{ github.event.pull_request.title }}"
echo "Validating PR title: \"$PR_TITLE\""
REGEX='^\[?(WIP|wip)?\]?\s*(DEMRUM-[0-9]+(,\s?DEMRUM-[0-9]+)*|NO-TICKET):\s.+$'
if [[ "$PR_TITLE" =~ $REGEX ]]; then
echo "✅ PR title is valid."
else
echo "❌ PR title is invalid."
echo ""
echo "It must match one of the following formats:"
echo "- DEMRUM-1234: Description"
echo "- DEMRUM-1234, DEMRUM-5678: Description"
echo "- NO-TICKET: Description"
exit 1
fi