Skip to content

The Open Source DocuSign Alternative.

feat: added pr title validator

Adithya Krishnace67f8cc113a
diff --git a/.github/workflows/semantic-pull-requests.yml b/.github/workflows/semantic-pull-requests.yml
new file mode 100644
index 000000000..5585523ee
--- /dev/null
+++ b/.github/workflows/semantic-pull-requests.yml
@@ -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 }}
\ No newline at end of file