Spaces:
Sleeping
Sleeping
Commit ·
ba44ff7
1
Parent(s): 99be01a
fix(ci): add permissions to file size check workflow
Browse filesResolves 'Resource not accessible by integration' error.
Adds read permissions for contents and pull-requests.
.github/workflows/check-filesize.yml
CHANGED
|
@@ -5,6 +5,10 @@ on:
|
|
| 5 |
branches: [main]
|
| 6 |
workflow_dispatch:
|
| 7 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 8 |
jobs:
|
| 9 |
check-size:
|
| 10 |
runs-on: ubuntu-latest
|
|
|
|
| 5 |
branches: [main]
|
| 6 |
workflow_dispatch:
|
| 7 |
|
| 8 |
+
permissions:
|
| 9 |
+
contents: read
|
| 10 |
+
pull-requests: read
|
| 11 |
+
|
| 12 |
jobs:
|
| 13 |
check-size:
|
| 14 |
runs-on: ubuntu-latest
|