Skip to content

chore(deps): bump github/codeql-action from 4 to 4.37.3 #936

chore(deps): bump github/codeql-action from 4 to 4.37.3

chore(deps): bump github/codeql-action from 4 to 4.37.3 #936

name: check large files
on:
pull_request:
push:
branches: [main]
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
check-large-files:
name: check for large files
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
- name: check for large files
run: |
large_files=$(find . -path ./.git -prune -o -type f -size +5M -print)
if [ -n "$large_files" ]; then
echo "$large_files" | while read -r file; do
echo "::error file=${file}::File ${file} is larger than 5MB"
done
exit 1
fi