[none]: use swift-install action’s autoconfigure mode #1
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
| # ❣❣❣ DO NOT EDIT ❣ THIS FILE IS AUTOMATICALLY SYNCED ❣ DO NOT EDIT ❣❣❣ | |
| name: Semantic PR title | |
| on: | |
| pull_request: | |
| types: [opened, edited, synchronize, reopened] | |
| jobs: | |
| validate: | |
| name: Validate PR title | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: 🌟 Check format 🌟 | |
| env: | |
| TITLE: ${{ github.event.pull_request.title }} | |
| run: | | |
| if [[ ! "$TITLE" =~ ^\[(major|minor|patch|none)\]:\ .+ ]]; then | |
| echo "::error::Invalid PR title format!" | |
| echo "Expected format: '[type]: description'" | |
| echo "Valid types: major, minor, patch, none" | |
| echo "Example: '[patch]: blah blah blah'" | |
| exit 1 | |
| fi | |
| echo "💘 PR title is valid!" |