From b8a07addafdac4c5a43f43be97fc503eee78eddc Mon Sep 17 00:00:00 2001 From: Lukas Klingsbo Date: Tue, 12 Apr 2022 17:24:01 +0200 Subject: [PATCH] chore: Add PR title validation (#1539) This is the same action that Melos itself uses for PR title validation so it should be solid. --- .github/workflows/cicd.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/cicd.yml b/.github/workflows/cicd.yml index ebdbabce9..9be749c77 100644 --- a/.github/workflows/cicd.yml +++ b/.github/workflows/cicd.yml @@ -9,6 +9,14 @@ on: jobs: # BEGIN LINTING STAGE + validate-pr-title: + name: Validate PR title + runs-on: ubuntu-latest + steps: + - uses: amannn/action-semantic-pull-request@v4 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + get-packages-paths: runs-on: ubuntu-latest outputs: