Skip to content

Commit 24cf04e

Browse files
chore(ci): reduce workflow permissions
1 parent dda9122 commit 24cf04e

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ on:
66
branches:
77
- main
88

9+
permissions:
10+
contents: read
11+
912
jobs:
1013
rustfmt:
1114
name: rustfmt / stable

.github/workflows/deny.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ on:
1010
- '**/Cargo.lock'
1111
pull_request:
1212

13+
permissions:
14+
contents: read
15+
1316
jobs:
1417
audit:
1518
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)