Skip to content

Commit 5d13053

Browse files
committed
CI: add permissions
1 parent 342df97 commit 5d13053

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.github/workflows/calibreapp-image-actions.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ on:
88
- '**.jpeg'
99
- '**.png'
1010
- '**.webp'
11+
permissions:
12+
contents: write
13+
pull-requests: write
1114
jobs:
1215
build:
1316
# Only run on Pull Requests within the same repository, and not from forks.

.github/workflows/calibreapp-image-manual.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
name: Compress Images
22
on:
33
workflow_dispatch:
4+
permissions:
5+
contents: write
6+
pull-requests: write
47
jobs:
58
build:
69
name: calibreapp/image-actions

0 commit comments

Comments
 (0)