Skip to content

Commit

Permalink
feature(ci): limit pull request size to 500
Browse files Browse the repository at this point in the history
fixes #741
  • Loading branch information
Idrinth committed Apr 8, 2024
1 parent 72352fc commit 8c059a6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/global.pull-request-size.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ jobs:
history-website/package-lock.json
cli/package-lock.json
package-lock.json
- run: npm install -g check-pr-length
- run: npm install -g https://github.com/Idrinth/check-pr-length
- run: git remote add base https://github.com/idrinth/api-bench.git
- run: git fetch base master
- run: git switch master
- run: git fetch origin "${GITHUB_HEAD_REF}"
- run: git switch $GITHUB_HEAD_REF
- run: check-pr-length --max=500 --base=master --exclude="package-lock.json;*/package-lock.json"
- run: check-pr-length --max=500 --base=master --silent=false --exclude="package-lock.json;*/package-lock.json"

0 comments on commit 8c059a6

Please sign in to comment.