File tree Expand file tree Collapse file tree 2 files changed +12
-1
lines changed Expand file tree Collapse file tree 2 files changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -10,8 +10,17 @@ on: # or directly `on: [push]` to run the action on every push on
10
10
jobs :
11
11
sync-to-hub :
12
12
runs-on : ubuntu-latest
13
+ permissions :
14
+ contents : read
15
+ pull-requests : write
13
16
steps :
17
+ - uses : actions/checkout@v3
18
+ with :
19
+ fetch-depth : 0
20
+
14
21
- name : Check large files
15
22
uses : ActionsDesk/lfs-warning@v2.0
16
23
with :
17
- filesizelimit : 10485760 # this is 10MB so we can sync to HF Spaces
24
+ filesizelimit : 10485760 # this is 10MB so we can sync to HF Spaces
25
+ token : ${{ secrets.GITHUB_TOKEN }}
26
+ repository : ${{ github.repository }}
Original file line number Diff line number Diff line change 9
9
jobs :
10
10
sync-to-hub :
11
11
runs-on : ubuntu-latest
12
+ permissions :
13
+ contents : write
12
14
steps :
13
15
- uses : actions/checkout@v3
14
16
with :
You can’t perform that action at this time.
0 commit comments