Skip to content

Commit 2316f6d

Browse files
Update msdo-main-pipeline.yml
Added perms to main-pipeline calling job block
1 parent 0189e06 commit 2316f6d

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

.github/workflows/msdo-main-pipeline.yml

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,23 @@ on:
66
workflow_dispatch:
77

88
jobs:
9-
core-msdo-scan:
9+
msdo-core-scan:
1010
uses: ./.github/workflows/msdo-reusable.yml
11+
permissions:
12+
contents: read
13+
id-token: write
14+
actions: read
15+
security-events: write
1116
with:
1217
branch: main
1318
secrets:
1419
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1520

1621
secret-scan:
1722
uses: ./.github/workflows/secret-scanning.yml
18-
needs: core-msdo-scan
23+
permissions:
24+
contents: read
25+
id-token: write
26+
actions: read
27+
security-events: write
28+
needs: msdo-core-scan

0 commit comments

Comments
 (0)