Skip to content

Commit 48abae8

Browse files
committed
.github: restrict permissions
1 parent 0758647 commit 48abae8

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ on:
1111
env:
1212
CARGO_TERM_COLOR: always
1313

14+
permissions: {}
15+
1416
jobs:
1517
llvm:
1618
uses: ./.github/workflows/llvm.yml

.github/workflows/llvm.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ on:
66
cache-key:
77
value: ${{ jobs.llvm.outputs.cache-key }}
88

9+
permissions: {}
10+
911
jobs:
1012
llvm:
1113
runs-on: ubuntu-22.04

.github/workflows/release.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ on:
44
release:
55
types: [published]
66

7+
permissions: {}
8+
79
jobs:
810
llvm:
911
uses: ./.github/workflows/llvm.yml

0 commit comments

Comments
 (0)