Quellcode durchsuchen

ci(convco): enforce conventional commits

Signed-off-by: Christina Sørensen <christina@cafkafk.com>
Christina Sørensen vor 2 Jahren
Ursprung
Commit
0bed0dc0e3
1 geänderte Dateien mit 19 neuen und 0 gelöschten Zeilen
  1. 19 0
      .github/workflows/conventional-commits.yml

+ 19 - 0
.github/workflows/conventional-commits.yml

@@ -0,0 +1,19 @@
+name: Conventional Commits
+
+on:
+  push:
+    branches: [ main ]
+  pull_request:
+    branches: [ main ]
+
+jobs:
+  build:
+    name: Conventional Commits
+    runs-on: ubuntu-latest
+    steps:
+      - uses: actions/checkout@v2
+
+      - uses: webiny/action-conventional-commits@v1.1.0
+        # optional, required for private repos
+        # with:
+        #   GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}