Skip to content

Commit

Permalink
100 limit on pull request (#1324)
Browse files Browse the repository at this point in the history
* 100 limit on pull request

* js too
  • Loading branch information
JacobJaffe authored Jul 27, 2020
1 parent b78f765 commit af08f6a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test-ios.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:

- name: Check if run is needed
run: |
URL="https://api.github.com/repos/${GITHUB_REPOSITORY}/pulls/${{ github.event.pull_request.number }}/files"
URL="https://api.github.com/repos/${GITHUB_REPOSITORY}/pulls/${{ github.event.pull_request.number }}/files?per_page=100"
FILES=$(curl -H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" -s -X GET -G $URL | jq -r '.[] | .filename')
echo "Checking Files: $FILES"
REGEX="\ios*"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:

- name: Check if run is needed
run: |
URL="https://api.github.com/repos/${GITHUB_REPOSITORY}/pulls/${{ github.event.pull_request.number }}/files"
URL="https://api.github.com/repos/${GITHUB_REPOSITORY}/pulls/${{ github.event.pull_request.number }}/files?per_page=100"
FILES=$(curl -H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" -s -X GET -G $URL | jq -r '.[] | .filename')
echo "Checking Files: $FILES"
REGEX="\.js\|\.jsx\|\.ts\|\.tsx"
Expand Down

0 comments on commit af08f6a

Please sign in to comment.