diff --git a/.github/workflows/common-config.yml b/.github/workflows/common-config.yml index d8519a0..8ffb56c 100644 --- a/.github/workflows/common-config.yml +++ b/.github/workflows/common-config.yml @@ -26,6 +26,13 @@ jobs: build-and-deploy: runs-on: ubuntu-latest steps: + - name: PR Conventional Commit Validation + uses: ytanikin/PRConventionalCommits@1.1.0 + if: github.event_name == 'pull_request' || github.event_name == 'pull_request_target' + with: + task_types: '["feat","fix","docs","test","ci","refactor","perf","chore","revert","style"]' + add_label: 'true' + - name: Check out the repo uses: actions/checkout@v3