Skip to content

Commit 452dcfa

Browse files
author
Ian Lewis
authored
ci: Add large file pre-submit check (#433)
Signed-off-by: Ian Lewis <[email protected]>
1 parent 844ae34 commit 452dcfa

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.github/workflows/pre-submit.lfs.yml

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: LFS Warning
2+
3+
on:
4+
pull_request:
5+
types: [assigned, opened, edited, reopened, synchronize, ready_for_review]
6+
7+
permissions: read-all
8+
9+
jobs:
10+
large-file-check:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: Checkout
14+
uses: actions/checkout@755da8c3cf115ac066823e79a1e1788f8940201b # v3.2.0
15+
- uses: actionsdesk/lfs-warning@e5f9a4c21f4bee104db7c0f23954dde59e5df909 # v3.2
16+
with:
17+
token: ${{ secrets.GITHUB_TOKEN }}
18+
filesizelimit: 10MB
19+
labelName: lfs-warning
20+
exclusionPatterns: |
21+
cli/slsa-verifier/testdata/**

0 commit comments

Comments
 (0)