chore: modify .github/workflows/validate-pr-title.yml

This commit is contained in:
stoat-tofu[bot] 2025-11-14 20:24:54 +00:00 committed by GitHub
parent 1aa5f7e1c3
commit 6907a33dc7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 20 additions and 0 deletions

20
.github/workflows/validate-pr-title.yml vendored Normal file
View File

@ -0,0 +1,20 @@
name: "Lint PR"
on:
pull_request_target:
types:
- opened
- reopened
- edited
- synchronize
jobs:
main:
name: Validate PR title
runs-on: ubuntu-latest
permissions:
pull-requests: read
steps:
- uses: amannn/action-semantic-pull-request@v6
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}