diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index 7db299f0df..c6d0c6ab7c 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -209,7 +209,7 @@ jobs: run: | BASE_REF="${{ github.event.pull_request.base.ref }}" echo "Base ref is $BASE_REF" - AFFECTED=$(npx nx show projects --affected --target=test --base=origin/$BASE_REF --select=projects --plain) + AFFECTED=$(npx nx show projects --affected --target=test --base=origin/$BASE_REF --select=projects --plain --exclude=cli,stories,eslint-angular) echo "Affected projects: $AFFECTED" MATRIX_JSON=$(echo $AFFECTED | xargs -n1 | jq -R -s -c 'split("\n")[:-1] | map({ "project": . })') MATRIX_JSON=$(echo "$MATRIX_JSON" | tr -d '\n' | sed 's/"$//') @@ -221,7 +221,7 @@ jobs: timeout-minutes: 30 name: "Lint" runs-on: ubuntu-latest - needs: [] + needs: ["generate-affected-matrix"] steps: - name: Checkout repository uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2