Skip to content

Commit c8cc6af

Browse files
committed
Fix
Signed-off-by: ZePan110 <[email protected]>
1 parent 61b0ca4 commit c8cc6af

File tree

3 files changed

+29
-5
lines changed

3 files changed

+29
-5
lines changed

.github/workflows/_comps-workflow.yml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,8 +115,20 @@ jobs:
115115
test-service-compose:
116116
if: ${{ fromJSON(inputs.test_compose) }}
117117
permissions:
118-
id-token: write
118+
actions: read
119+
attestations: read
120+
checks: read
119121
contents: read
122+
deployments: read
123+
discussions: read
124+
id-token: write
125+
issues: read
126+
packages: read
127+
pages: read
128+
pull-requests: read
129+
repository-projects: read
130+
security-events: read
131+
statuses: read
120132
uses: ./.github/workflows/_run-docker-compose.yml
121133
with:
122134
tag: ${{ inputs.tag }}

.github/workflows/manual-comps-test.yml

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,6 @@ on:
4848
required: false
4949
type: boolean
5050

51-
# permissions: read-all
52-
5351
jobs:
5452
get-test-matrix:
5553
runs-on: ubuntu-latest
@@ -69,6 +67,21 @@ jobs:
6967
7068
run-services:
7169
needs: [get-test-matrix]
70+
permissions:
71+
actions: read
72+
attestations: read
73+
checks: read
74+
contents: read
75+
deployments: read
76+
discussions: read
77+
id-token: write
78+
issues: read
79+
packages: read
80+
pages: read
81+
pull-requests: read
82+
repository-projects: read
83+
security-events: read
84+
statuses: read
7285
strategy:
7386
matrix:
7487
service: ${{ fromJson(needs.get-test-matrix.outputs.services) }}

.github/workflows/push-infra-issue-creation.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,14 @@
11
# Copyright (C) 2024 Intel Corporation
22
# SPDX-License-Identifier: Apache-2.0
33

4-
permissions: read-all
5-
64
on:
75
push:
86
branches: [ 'main','issue' ]
97
paths:
108
- "**/docker_compose/*.yaml"
119

1210
name: Create an issue to GenAIInfra on push
11+
permissions: read-all
1312
jobs:
1413
job1:
1514
name: Create issue

0 commit comments

Comments
 (0)