From f0c059f5baa787b3a4511ae45fe29628f9fe2046 Mon Sep 17 00:00:00 2001 From: Daniel Sil Date: Thu, 25 Jul 2024 17:25:26 +0200 Subject: [PATCH] ci: limit prose action to 300 changed files There is a limitation on the action that can't be executed when the PR has more than 300 files. Limiting this so the job does not fail in bigger PRs. --- .github/workflows/lint-prose.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/lint-prose.yml b/.github/workflows/lint-prose.yml index 5c36ae1764..c1dac4f354 100644 --- a/.github/workflows/lint-prose.yml +++ b/.github/workflows/lint-prose.yml @@ -16,6 +16,8 @@ on: jobs: prose: runs-on: ubuntu-latest + # https://github.com/reviewdog/reviewdog/issues/1696 + if: ${{ github.event.pull_request.changed_files < 301 }} steps: - name: Checkout uses: actions/checkout@v4