feat(frontend): update landing page text item #6850
Workflow file for this run
This file contains 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 checks' | |
on: | |
pull_request: | |
types: | |
- opened | |
- edited | |
- reopened | |
- synchronize | |
- labeled | |
jobs: | |
check-pr-title: | |
name: 'check-pr-title:required' | |
runs-on: ubuntu-24.04 | |
env: | |
TITLE: ${{ github.event.pull_request.title }} | |
steps: | |
- name: 'Check PR Title' | |
run: | | |
if [[ "$TITLE" =~ ^(feat|fix|chore|build|ci|docs|style|refactor|perf|test)(\([-a-zA-Z0-9,]+\))\!?\: ]]; then | |
echo "PR Title passes" | |
else | |
echo "PR Title does not match conventions:" | |
echo " verb(scope): description" | |
echo "or for a breaking change:" | |
echo " verb(scope)!: description" | |
echo "For scope, please use the affected canister name(s) or 'ci' for infrastructure changes." | |
exit 1 | |
fi | |