🐛 Fix flakes in e2e tests for metrics #8217
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 Title Verifier" | |
| on: | |
| pull_request: | |
| types: [opened, edited, synchronize, reopened] | |
| jobs: | |
| verify: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v5 | |
| - name: Validate PR Title Format | |
| env: | |
| TITLE: ${{ github.event.pull_request.title }} | |
| run: | | |
| if [[ -z "$TITLE" ]]; then | |
| echo "Error: PR title cannot be empty." | |
| exit 1 | |
| fi | |
| if ! [[ "$TITLE" =~ ^($'\u26A0'|$'\u2728'|$'\U0001F41B'|$'\U0001F4D6'|$'\U0001F680'|$'\U0001F331') ]]; then | |
| echo "Error: Invalid PR title format." | |
| echo "Your PR title must start with one of the following indicators:" | |
| echo "- Breaking change: ⚠ (U+26A0)" | |
| echo "- Non-breaking feature: ✨ (U+2728)" | |
| echo "- Patch fix: 🐛 (U+1F41B)" | |
| echo "- Docs: 📖 (U+1F4D6)" | |
| echo "- Release: 🚀 (U+1F680)" | |
| echo "- Infra/Tests/Other: 🌱 (U+1F331)" | |
| exit 1 | |
| fi | |
| echo "PR title is valid: '$TITLE'" |