mirror of
https://github.com/lunchcat/sif.git
synced 2026-01-17 15:22:41 -08:00
19 lines
402 B
YAML
19 lines
402 B
YAML
name: Check Large Files
|
|
|
|
on:
|
|
pull_request:
|
|
push:
|
|
branches: [main]
|
|
|
|
jobs:
|
|
check-large-files:
|
|
name: Check for large files
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- name: Check for large files
|
|
run: |
|
|
find . -type f -size +5M | while read file; do
|
|
echo "::error file=${file}::File ${file} is larger than 5MB"
|
|
done
|