diff --git a/.github/workflows/conventional-commits-check.yaml b/.github/workflows/conventional-commits-check.yaml new file mode 100644 index 0000000..88c8501 --- /dev/null +++ b/.github/workflows/conventional-commits-check.yaml @@ -0,0 +1,21 @@ +name: Conventional Commits Check + +on: + pull_request_target: + types: + - opened + - edited + - reopened + +jobs: + check-conventional-commits: + name: Conventional Commits + runs-on: ubuntu-latest + permissions: + pull-requests: read + steps: + - name: Check Semantic Pull Request title + uses: amannn/action-semantic-pull-request@v6 + id: lint_pr_title + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}