Skip to content

Commit a563c44

Browse files
committed
Limit permissions for github workflow
1 parent ef060ce commit a563c44

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

.github/workflows/debian-package.yml

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

9+
permissions:
10+
contents: read
11+
912
env:
1013
CARGO_TERM_COLOR: always
1114
DEB_BUILD_OPTIONS: nocheck

.github/workflows/rust.yml

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

9+
permissions:
10+
contents: read
11+
912
env:
1013
CARGO_TERM_COLOR: always
1114

0 commit comments

Comments
 (0)