|
@@ -0,0 +1,19 @@
|
|
|
+name: "Validate PR Title"
|
|
|
+
|
|
|
+on:
|
|
|
+ pull_request_target:
|
|
|
+ types:
|
|
|
+ - opened
|
|
|
+ - edited
|
|
|
+ - synchronize
|
|
|
+
|
|
|
+jobs:
|
|
|
+ main:
|
|
|
+ name: Check PR title matches the Conventional Commits spec
|
|
|
+ runs-on: ubuntu-latest
|
|
|
+ steps:
|
|
|
+ - uses: amannn/action-semantic-pull-request@v3.4.6
|
|
|
+ with:
|
|
|
+ validateSingleCommit: true
|
|
|
+ env:
|
|
|
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|