File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 6060 if : ${{ github.event_name == 'pull_request' }}
6161 uses : pytorch/test-infra/.github/workflows/linux_job_v2.yml@main
6262 with :
63- runner : linux.2xlarge
63+ runner : linux.large
6464 docker-image : ci-image:executorch-ubuntu-22.04-linter
6565 submodules : false
6666 fetch-depth : 0
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ green='\e[1;32m'; red='\e[1;31m'; cyan='\e[1;36m'; reset='\e[0m'
1313
1414# Following is the rules for the file size linting:
1515# 1. For all files, the file size can't be larger than 1MB
16- # 2. For images/vidoes , the files size can't be larger than 7MB
16+ # 2. For images/videos , the file size can't be larger than 8MB
1717# 3. There is an exception list defined in the script if it's really needed
1818
1919# List of files to skip (relative paths)
@@ -55,7 +55,7 @@ for file in $files; do
5555 if [ -f " $file " ]; then
5656 # Set size limit depending on extension
5757 if [[ " $file " =~ \. (png| jpg| jpeg| gif| svg| mp3| mp4)$ ]]; then
58- MAX_SIZE=$(( 8 * 1024 * 1024 )) # 5 MB for pictures
58+ MAX_SIZE=$(( 8 * 1024 * 1024 )) # 8 MB for pictures
5959 else
6060 MAX_SIZE=$(( 1 * 1024 * 1024 )) # 1 MB for others
6161 fi
You can’t perform that action at this time.
0 commit comments