chore(trading): separate workflow for lint-pr (#4904)
This commit is contained in:
parent
1f507facba
commit
7453acd632
8
.github/workflows/ci-cd-trigger.yml
vendored
8
.github/workflows/ci-cd-trigger.yml
vendored
@ -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
|
||||
|
5
.github/workflows/lint-pr.yml
vendored
5
.github/workflows/lint-pr.yml
vendored
@ -2,7 +2,10 @@
|
||||
name: Verify PR title
|
||||
|
||||
on:
|
||||
workflow_call:
|
||||
pull_request:
|
||||
types:
|
||||
- opened
|
||||
- edited
|
||||
|
||||
jobs:
|
||||
lint_pr:
|
||||
|
Loading…
Reference in New Issue
Block a user