-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Mehdi Nassim KHODJA <[email protected]>
- Loading branch information
Showing
2 changed files
with
12 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,11 @@ | ||
#################################### | ||
# This workflow will check the file size does not exceed 10MB | ||
# secrets: | ||
# - GITHUB_TOKEN: GitHub API token with some extra permissions | ||
# (octokit.rest.issues.[addLabels|listLabelsOnIssue|removeLabel|getLabel|createLabel|createComment], | ||
# octokit.rest.pulls.listFiles, octokit.rest.git.getBlob, core.setFailed: set PR status to failed) | ||
#################################### | ||
|
||
name: Check file size | ||
|
||
on: | ||
|
@@ -19,4 +27,4 @@ jobs: | |
uses: ppremk/[email protected] | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} # required with some permissions | ||
filesizelimit: 10MB # this is 10MB so we can sync to HF Spaces | ||
filesizelimit: 10MB # < 10MB so we can sync to HF Spaces |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters