feat: Auto check PR titles if they follow conventional commits spec (#9109)

Signed-off-by: Adithya Krishna <adikrish@redhat.com>
Co-authored-by: Peer Richelsen <peeroke@gmail.com>
This commit is contained in:
Adithya Krishna 2023-05-26 17:34:58 +05:30 committed by GitHub
parent a6065a4dbd
commit 02b9505882
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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