Skip to content

Commit 182cb5e

Browse files
authored
Add top-level permissions to all GitHub Actions workflows (#3368)
1 parent ad1a8ee commit 182cb5e

9 files changed

+27
-0
lines changed

.github/workflows/codeQL.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44

55
name: "CodeQL"
66

7+
permissions:
8+
contents: read
9+
710
on:
811
push:
912
branches: [ "main", "*" ] # TODO: remove development branch after approval

.github/workflows/smoketest-java8-v4.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
name: Smoke Test - Java 8 on Functions V4
22

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

.github/workflows/smoketest-mssql-inproc-v4.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
name: Smoke Test - .NET in-proc w/ MSSQL on Functions V4
22

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

.github/workflows/smoketest-netherite-inproc-v4.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
name: Smoke Test - .NET in-proc w/ Netherite on Functions V4
22

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

.github/workflows/smoketest-node20-v4.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
name: Smoke Test - Node 20 on Functions V4
22

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

.github/workflows/smoketest-python311-v4.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
name: Smoke Test - Python 3.11 on Functions V4
22

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

.github/workflows/validate-build-analyzer.yml

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

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

.github/workflows/validate-build-e2e.yml

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

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

.github/workflows/validate-build.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
name: Validate Build (except E2E tests)
22

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

0 commit comments

Comments
 (0)