feat: Arize Phoenix via OpenInference #108
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 |