Skip to content

Commit 8d020a7

Browse files
authored
[Actions] Add permissions to all workflows (#368)
* Add permissions section to GitHub Actions workflow * Add permissions section to workflow file * Add permissions section to workflow file * Add permissions section to Linux build template * Update MacOS build template with permissions Add permissions section to MacOS build template
1 parent 2bd2710 commit 8d020a7

File tree

5 files changed

+15
-0
lines changed

5 files changed

+15
-0
lines changed

.github/workflows/Build ThunderNanoServicesRDK on Linux.yml

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

3+
permissions:
4+
contents: read
5+
36
on:
47
workflow_dispatch:
58
push:

.github/workflows/Build ThunderNanoServicesRDK on MacOS.yml

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

3+
permissions:
4+
contents: read
5+
36
on:
47
workflow_dispatch:
58
push:

.github/workflows/Build ThunderNanoServicesRDK on Windows.yml

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

3+
permissions:
4+
contents: read
5+
36
on:
47
workflow_dispatch:
58
push:

.github/workflows/Linux build template.yml

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

3+
permissions:
4+
contents: read
5+
36
on:
47
workflow_call:
58

.github/workflows/MacOS build template.yml

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

3+
permissions:
4+
contents: read
5+
36
on:
47
workflow_call:
58

0 commit comments

Comments
 (0)