Commit fc4ab90
authored
ci: add PR title validation workflow (#25)
- Add semantic pull request validation using amannn/action-semantic-pull-request
- Configure validation to run on pull_request_target opened, edited, and synchronize events
- Set up permissions for contents read, pull-requests read, and statuses write
- Apply validation only to antdv-next/cli repository
- Use ubuntu-slim runner for validation job
- Enforce subject pattern to prevent uppercase first letter in PR titles
- Provide custom error message for subject pattern violations
- Configure GITHUB_TOKEN environment variable for authentication1 parent 2e43630 commit fc4ab90
1 file changed
Lines changed: 31 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
0 commit comments