From 2c6c058bb7b0d373e05835fead3f8e63e3240583 Mon Sep 17 00:00:00 2001 From: GitHub Date: Wed, 14 Jun 2023 09:04:10 +0000 Subject: [PATCH] chore: Update .github/workflows/semantic-pull-request.yml [skip ci] --- .github/workflows/semantic-pull-request.yml | 32 ++------------------- 1 file changed, 2 insertions(+), 30 deletions(-) diff --git a/.github/workflows/semantic-pull-request.yml b/.github/workflows/semantic-pull-request.yml index 4f9798c2d5a..bd00f090c1a 100644 --- a/.github/workflows/semantic-pull-request.yml +++ b/.github/workflows/semantic-pull-request.yml @@ -1,4 +1,4 @@ -name: "Semantic PR" +name: Semantic PR on: pull_request_target: @@ -9,32 +9,4 @@ on: jobs: main: - name: Validate PR title - runs-on: ubuntu-latest - steps: - - uses: amannn/action-semantic-pull-request@b6bca70dcd3e56e896605356ce09b76f7e1e0d39 # v5.1.0 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - with: - # Configure which types are allowed (newline delimited). - types: | - feat - fix - chore - docs - deps - test - refactor - ci - requireScope: false - - - name: Check PR title length - env: - TITLE: ${{ github.event.pull_request.title }} - run: | - title_length=${#TITLE} - if [ $title_length -gt 72 ] - then - echo "PR title is too long (greater than 72 characters)" - exit 1 - fi + uses: pl-strflt/.github/.github/workflows/reusable-semantic-pull-request.yml@v0.3