chore(ci): Ensure PR titles are in semantic format (#7346)

This commit is contained in:
Sojan Jose
2023-06-19 16:48:45 +05:30
committed by GitHub
parent 138630b4ae
commit 5c5381c0a9

23
.github/workflows/lint_pr.yml vendored Normal file
View File

@@ -0,0 +1,23 @@
# ref: https://github.com/amannn/action-semantic-pull-request
# ensure PR title is in semantic format
name: "Lint PR"
on:
pull_request_target:
types:
- opened
- 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 }}