Skip to content

chore: pull filter data from s3 at runtime #68

chore: pull filter data from s3 at runtime

chore: pull filter data from s3 at runtime #68

Workflow file for this run

name: PR Lint
on:
pull_request:
types: [opened, edited, synchronize]
jobs:
lint-pr:
name: Lint PR Title and Body
runs-on: ubuntu-latest
steps:
- name: Check PR Title Format
run: |
TITLE="${{ github.event.pull_request.title }}"
REGEX="^(\[(feat|fix|docs|test|refactor|build|ci|chore|perf|style|revert)\]\\s*.+|(feat|fix|docs|test|refactor|build|ci|chore|perf|style|revert):\\s*.+)"
if [[ ! "$TITLE" =~ $REGEX ]]; then
echo "❌ PR Title '$TITLE' does not match the required format '[type] subject' or 'type: subject'."
echo " Please start your PR title with a valid type like [feat], [fix], feat:, fix:, etc., followed by a space and the subject."
exit 1
else
echo "✅ PR Title format is valid."
fi