Skip to content

Commit

Permalink
ci: limit prose action to 300 changed files
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
DSil committed Jul 26, 2024
1 parent 812ddaf commit f0c059f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/lint-prose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f0c059f

Please sign in to comment.