Skip to content

Commit 8e846bf

Browse files
committed
typos and update linux machine
1 parent 5bba482 commit 8e846bf

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/_link_check.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ jobs:
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

scripts/lint_file_size.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)