Skip to content

Commit f6787ea

Browse files
committed
ci: explicitly allow content read permission
1 parent e9d918a commit f6787ea

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

.github/workflows/deny.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
name: Cargo Deny
22

3-
permissions: {}
3+
permissions:
4+
# Doing it explicitly because the default permission only includes metadata: read.
5+
contents: read
46

57
on:
68
workflow_dispatch:

.github/workflows/zizmor.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
name: Zizmor
22

3-
permissions: {}
3+
permissions:
4+
# Doing it explicitly because the default permission only includes metadata: read.
5+
contents: read
46

57
on:
68
workflow_dispatch:

0 commit comments

Comments
 (0)