From c7f8c9628790cb587c71f173ec7553163cb2d144 Mon Sep 17 00:00:00 2001 From: hay-kot Date: Wed, 1 Sep 2021 21:44:59 -0800 Subject: [PATCH] ci(backend): :green_heart: add conventional pr naming check --- .github/workflows/convenitonal-commits.yml | 23 ++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/convenitonal-commits.yml diff --git a/.github/workflows/convenitonal-commits.yml b/.github/workflows/convenitonal-commits.yml new file mode 100644 index 000000000000..eee9576f6642 --- /dev/null +++ b/.github/workflows/convenitonal-commits.yml @@ -0,0 +1,23 @@ +name: Check PR title +on: + pull_request: + branches: + - mealie-next + types: + - opened + - reopened + - edited + - synchronize + +jobs: + lint: + runs-on: ubuntu-latest + steps: + - uses: aslafy-z/conventional-pr-title-action@master + 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 }}