diff --git a/.github/workflows/conventional-commit.yml b/.github/workflows/conventional-commit.yml new file mode 100644 index 0000000..6001a71 --- /dev/null +++ b/.github/workflows/conventional-commit.yml @@ -0,0 +1,29 @@ +name: Conventional Commit + +on: + pull_request: + types: + - edited + - opened + +jobs: + conventional-commit: + name: Conventional Commit + runs-on: ubuntu-latest + steps: + - name: Check PR Conventional Commit title + uses: amannn/action-semantic-pull-request@v5 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + types: | + feat + fix + infra + ci + docs + deps + perf + refactor + test + chore