Skip to content

Commit 779468f

Browse files
Add Permissions
1 parent 580354f commit 779468f

11 files changed

+38
-0
lines changed

.github/workflows/azure-dev-validation.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ on:
44

55
permissions:
66
contents: read
7+
actions: read
78
id-token: write
89
pull-requests: write
910

.github/workflows/broken-links-checker.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ on:
88

99
permissions:
1010
contents: read
11+
actions: read
1112

1213
jobs:
1314
markdown-link-check:

.github/workflows/deploy-KMGeneric.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,11 @@ on:
1111
schedule:
1212
- cron: '0 9,21 * * *' # Runs at 9:00 AM and 9:00 PM GMT
1313
workflow_dispatch: # Allow manual triggering
14+
15+
permissions:
16+
contents: read
17+
actions: read
18+
1419
env:
1520
GPT_MIN_CAPACITY: 150
1621
TEXT_EMBEDDING_MIN_CAPACITY: 80

.github/workflows/deploy-linux.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,10 @@ on:
8686
default: ''
8787
type: string
8888

89+
permissions:
90+
contents: read
91+
actions: read
92+
8993
jobs:
9094
Run:
9195
uses: ./.github/workflows/deploy-orchestrator.yml

.github/workflows/deploy-windows.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,10 @@ on:
7070
default: ''
7171
type: string
7272

73+
permissions:
74+
contents: read
75+
actions: read
76+
7377
jobs:
7478
Run:
7579
uses: ./.github/workflows/deploy-orchestrator.yml

.github/workflows/docker-build.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@ on:
1818
- demo
1919
workflow_dispatch:
2020

21+
permissions:
22+
contents: read
23+
actions: read
24+
2125
jobs:
2226
build-and-push:
2327
runs-on: ubuntu-latest

.github/workflows/pr-title-checker.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ on:
99
merge_group:
1010

1111
permissions:
12+
contents: read
13+
actions: read
1214
pull-requests: read
1315

1416
jobs:

.github/workflows/pylint.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ on:
88
- '.flake8'
99
- '.github/workflows/pylint.yml'
1010

11+
permissions:
12+
contents: read
13+
actions: read
14+
1115
jobs:
1216
build:
1317
runs-on: ubuntu-latest

.github/workflows/telemetry-template-check.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ on:
77
paths:
88
- 'azure.yaml'
99

10+
permissions:
11+
contents: read
12+
actions: read
13+
1014
jobs:
1115
validate-template-property:
1216
name: validate-template-property

.github/workflows/test-automation.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,11 @@ on:
2424
EMAILNOTIFICATION_LOGICAPP_URL_TA:
2525
required: false
2626
description: "Logic App URL for email notifications"
27+
28+
permissions:
29+
contents: read
30+
actions: read
31+
2732
env:
2833
# Use input URL if provided (from deploy pipeline), otherwise fall back to vars
2934
url: ${{ inputs.KMGENERIC_URL }}

0 commit comments

Comments
 (0)