From b11b2d8658fec3940bb0c0280124cbdd77d8d74b Mon Sep 17 00:00:00 2001 From: Stan Girard Date: Thu, 27 Jul 2023 10:45:58 +0200 Subject: [PATCH] feat(pr-title): added pr-title checlk --- .github/workflows/conventional-pr-title.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/conventional-pr-title.yml diff --git a/.github/workflows/conventional-pr-title.yml b/.github/workflows/conventional-pr-title.yml new file mode 100644 index 000000000..a6d6560e5 --- /dev/null +++ b/.github/workflows/conventional-pr-title.yml @@ -0,0 +1,21 @@ +name: Check PR title +on: + pull_request: + types: + - opened + - reopened + - edited + - synchronize + +jobs: + lint: + runs-on: ubuntu-latest + steps: + - uses: aslafy-z/conventional-pr-title-action@main + with: + success-state: Title follows the specification. + failure-state: Title does not follow the specification. + context-name: conventional-pr-title + preset: conventional-changelog-angular@latest + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} \ No newline at end of file