Browse Source

ci: Add semantic pr title action (#2610)

Aakansha Doshi 4 years ago
parent
commit
abbc756887
1 changed files with 16 additions and 0 deletions
  1. 16 0
      .github/workflows/semantic-pr-title.yml

+ 16 - 0
.github/workflows/semantic-pr-title.yml

@@ -0,0 +1,16 @@
+name: "Semantic PR title"
+
+on:
+  pull_request_target:
+    types:
+      - opened
+      - edited
+      - synchronize
+
+jobs:
+  main:
+    runs-on: ubuntu-latest
+    steps:
+      - uses: amannn/action-semantic-pull-request@v2.1.0
+        env:
+          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}