ci: add pr lint workflow (#3157)

This commit is contained in:
Oleg Lobanov
2024-04-24 22:51:37 +02:00
committed by GitHub
parent 0e0b0c8095
commit e39ea73095
3 changed files with 23 additions and 12 deletions

21
.github/workflows/pr-lint.yaml vendored Normal file
View File

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