ci: update api token; add validate PR title

This commit is contained in:
izzy
2025-11-11 20:07:18 +00:00
parent 5b534242c4
commit 27ea7345ea
5 changed files with 22 additions and 208 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 }}