瀏覽代碼

Merge pull request #314 from eza-community/cafk-convco-ci

ci(convco): enforce conventional commits
Christina Sørensen 2 年之前
父節點
當前提交
4c04ce178c
共有 1 個文件被更改,包括 19 次插入0 次删除
  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 }}