File tree 3 files changed +9
-2
lines changed
3 files changed +9
-2
lines changed Original file line number Diff line number Diff line change 6
6
type : string
7
7
8
8
permissions :
9
- contents : none
10
9
packages : none
11
10
12
11
jobs :
15
14
runs-on : ubuntu-latest
16
15
permissions :
17
16
contents : read
17
+ id-token : none
18
18
outputs :
19
19
repo_name : ${{ steps.info.outputs.repo_name }}
20
20
steps :
43
43
runs-on : github-hosted-ubuntu-${{ matrix.arch }}
44
44
permissions :
45
45
contents : write # needed to upload build artifacts
46
+ id-token : none
46
47
47
48
container :
48
49
image : ghcr.io/grafana/grafana-build-tools:v0.40.3@sha256:1e112c01108b888ae64e786e6d13a8e46c02884f94ccf784ad646d906ac97254
@@ -319,6 +320,7 @@ jobs:
319
320
runs-on : github-hosted-ubuntu-x64-small
320
321
permissions :
321
322
contents : read
323
+ id-token : none
322
324
steps :
323
325
# The following two steps are needed because trigger-argo-workflow is
324
326
# calling setup-go *after* setup-argo, and setup-argo actually needs go
Original file line number Diff line number Diff line change 5
5
branches :
6
6
- main
7
7
8
- # This is needed so that pushing to GAR works.
9
8
permissions :
10
9
contents : none
11
10
packages : none
12
11
13
12
jobs :
14
13
call_build_and_publish :
14
+ permissions :
15
+ contents : write # Necessary to publish artifacts
16
+ id-token : write # Necessary to publish to GAR
15
17
uses : ./.github/workflows/build_and_publish.yaml
16
18
with :
17
19
mode : dev
Original file line number Diff line number Diff line change @@ -12,6 +12,9 @@ permissions:
12
12
13
13
jobs :
14
14
call_build_and_publish :
15
+ permissions :
16
+ contents : write # Necessary to publish artifacts
17
+ id-token : write # Necessary to publish to GAR
15
18
uses : ./.github/workflows/build_and_publish.yaml
16
19
with :
17
20
mode : prod
You can’t perform that action at this time.
0 commit comments