Skip to content

Commit 2cfdf34

Browse files
committed
fix(ci): address workflow security findings
Signed-off-by: Ignas Baranauskas <ibaranau@redhat.com>
1 parent 492cffa commit 2cfdf34

2 files changed

Lines changed: 7 additions & 4 deletions

File tree

‎.github/workflows/sdk-proto-check.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
5050
runs-on: linux-amd64-cpu8
5151
timeout-minutes: 15
5252
container:
53-
image: ghcr.io/nvidia/openshell/ci:latest
53+
image: ghcr.io/nvidia/openshell/ci:37072ee81cd7b294c714bfa5ecc829b6927b3d70
5454
credentials:
5555
username: ${{ github.actor }}
5656
password: ${{ secrets.GITHUB_TOKEN }}

‎.github/workflows/sdk-sync-dashboard.yml‎

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ permissions:
1515
actions: read
1616
contents: read
1717
packages: read
18-
issues: write
1918

2019
concurrency:
2120
group: sdk-proto-sync
@@ -39,7 +38,7 @@ jobs:
3938
runs-on: linux-amd64-cpu8
4039
timeout-minutes: 30
4140
container:
42-
image: ghcr.io/nvidia/openshell/ci:latest
41+
image: ghcr.io/nvidia/openshell/ci:37072ee81cd7b294c714bfa5ecc829b6927b3d70
4342
credentials:
4443
username: ${{ github.actor }}
4544
password: ${{ secrets.GITHUB_TOKEN }}
@@ -90,8 +89,12 @@ jobs:
9089
if: always() && needs.load_config.result == 'success' && needs.sdk_sync_check.result == 'success'
9190
runs-on: linux-amd64-cpu8
9291
timeout-minutes: 5
92+
permissions:
93+
contents: read
94+
issues: write
95+
packages: read
9396
container:
94-
image: ghcr.io/nvidia/openshell/ci:latest
97+
image: ghcr.io/nvidia/openshell/ci:37072ee81cd7b294c714bfa5ecc829b6927b3d70
9598
credentials:
9699
username: ${{ github.actor }}
97100
password: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)