Skip to content

Commit 1f901fd

Browse files
authored
Merge pull request #44 from intel/restrict-permissions
Restrict workflow permissions to minimum
2 parents 00ebd89 + 37f55b2 commit 1f901fd

File tree

3 files changed

+9
-0
lines changed

3 files changed

+9
-0
lines changed

.github/workflows/binaries.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
name: Build Binaries
22

3+
permissions:
4+
actions: write
5+
36
on:
47
workflow_call:
58
inputs:

.github/workflows/rust.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
name: Archive Binary
22

3+
permissions:
4+
actions: write
5+
36
on:
47
push:
58
branches: [ "main" ]

.github/workflows/scans.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
name: Cargo Check
22

3+
permissions:
4+
actions: write
5+
36
on:
47
workflow_call:
58
inputs:

0 commit comments

Comments
 (0)