diff --git a/.github/workflows/pull-request-main-backoffice.yml b/.github/workflows/pull-request-main-backoffice.yml index d7b2ffd3..2b16cf4f 100644 --- a/.github/workflows/pull-request-main-backoffice.yml +++ b/.github/workflows/pull-request-main-backoffice.yml @@ -12,6 +12,7 @@ jobs: with: ref: ${{ github.ref }} test: + needs: lint uses: ./.github/workflows/test-backoffice.yml with: ref: ${{ github.event.pull_request.head.sha }} diff --git a/.github/workflows/pull-request-main-workflows.yml b/.github/workflows/pull-request-main-workflows.yml index 6b5c3947..5d2b96a4 100644 --- a/.github/workflows/pull-request-main-workflows.yml +++ b/.github/workflows/pull-request-main-workflows.yml @@ -4,13 +4,14 @@ on: pull_request_target: branches: [main] paths: - - 'workflows/**' + - "workflows/**" jobs: lint: uses: ./.github/workflows/lint.yml with: ref: ${{ github.ref }} test: + needs: lint uses: ./.github/workflows/test-workflows.yml with: ref: ${{ github.event.pull_request.head.sha }}