Skip to content

Commit ca13625

Browse files
committed
Move permissions to jobs
1 parent f718a03 commit ca13625

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

.github/workflows/shadow-scans.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ on:
66
- cron: '0 4 * * *'
77
workflow_dispatch:
88

9+
permissions:
10+
id-token: write
11+
contents: write
12+
913
jobs:
1014
scan:
1115
runs-on: warp-custom-pr-190-windows-2022-base-warpbuild-v20251015115121
@@ -23,9 +27,6 @@ jobs:
2327
- platform: SonarQubeServerNext
2428
vault_path: development/kv/data/next
2529
project_key: SonarSource_sonarlint-visualstudio_b822e41c-dcc7-40ab-a423-2d1dfbb1e248
26-
permissions:
27-
id-token: write
28-
contents: write
2930
steps:
3031
- uses: actions/checkout@v5
3132
with:
@@ -71,9 +72,6 @@ jobs:
7172
runs-on: github-ubuntu-latest-s
7273
name: Run IRIS Analysis
7374
needs: scan
74-
permissions:
75-
id-token: write
76-
contents: write
7775
if: !cancelled()
7876
steps:
7977
- name: Run IRIS Analysis

0 commit comments

Comments
 (0)