diff --git a/.github/workflows/ci-cd-trigger.yml b/.github/workflows/ci-cd-trigger.yml index 15311c8a7..cd8d5c102 100644 --- a/.github/workflows/ci-cd-trigger.yml +++ b/.github/workflows/ci-cd-trigger.yml @@ -10,7 +10,6 @@ on: - opened - ready_for_review - reopened - - edited - synchronize jobs: node-modules: @@ -44,13 +43,6 @@ jobs: if: steps.cache.outputs.cache-hit != 'true' run: yarn install --pure-lockfile - lint-pr-title: - needs: node-modules - if: ${{ github.event_name == 'pull_request' }} - name: Verify PR title - uses: ./.github/workflows/lint-pr.yml - secrets: inherit - lint-format: timeout-minutes: 20 needs: node-modules diff --git a/.github/workflows/lint-pr.yml b/.github/workflows/lint-pr.yml index 9b1666a42..9c6781f86 100644 --- a/.github/workflows/lint-pr.yml +++ b/.github/workflows/lint-pr.yml @@ -2,7 +2,10 @@ name: Verify PR title on: - workflow_call: + pull_request: + types: + - opened + - edited jobs: lint_pr: