8000 Reduce permissions for repl-artefacts.yml workflow (#4630) · rollup/rollup@71d20c9 · GitHub
[go: up one dir, main page]

Skip to content

Commit 71d20c9

Browse files
Reduce permissions for repl-artefacts.yml workflow (#4630)
Signed-off-by: sashashura <93376818+sashashura@users.noreply.github.com> Signed-off-by: sashashura <93376818+sashashura@users.noreply.github.com> Co-authored-by: Lukas Taegert-Atkinson <lukastaegert@users.noreply.github.com>
1 parent 8193ea5 commit 71d20c9

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/repl-artefacts.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,13 @@ on:
44
pull_request_target:
55
types: [synchronize, opened, reopened, labeled]
66

7+
permissions:
8+
contents: read
9+
710
jobs:
811
upload:
12+
permissions:
13+
pull-requests: write # for peter-evans/find-comment and peter-evans/create-or-update-comment
914
if: ${{ github.event.pull_request.head.repo.full_name == 'rollup/rollup' || contains( toJson(github.event.pull_request.labels), 'x⁸ ⚙️ build repl artefacts' ) }}
1015
runs-on: ubuntu-latest
1116
name: Upload

0 commit comments

Comments
 (0)
0