File tree 2 files changed +18
-4
lines changed
2 files changed +18
-4
lines changed Original file line number Diff line number Diff line change 7
7
workflow_call :
8
8
9
9
jobs :
10
- credentials-scan :
11
- uses : getyourguide/actions/.github/workflows/credentials-scan.yml@main
12
10
check :
13
11
runs-on : ubuntu-latest
12
+ permissions :
13
+ id-token : write
14
+ contents : read
14
15
steps :
16
+ - name : Log into production account
17
+ uses : aws-actions/configure-aws-credentials@v4.1.0
18
+ with :
19
+ aws-region : eu-central-1
20
+ role-to-assume : arn:aws:iam::130607246975:role/ci-base-access
21
+ role-session-name : dss
15
22
- uses : actions/checkout@v3
16
23
- name : Set up JDK
17
24
uses : actions/setup-java@v3
Original file line number Diff line number Diff line change 6
6
- ' v*'
7
7
8
8
jobs :
9
- credentials-scan :
10
- uses : getyourguide/actions/.github/workflows/credentials-scan.yml@main
11
9
check :
12
10
uses : ./.github/workflows/check.yml
13
11
publish :
14
12
needs : check
15
13
runs-on : ubuntu-latest
14
+ permissions :
15
+ id-token : write
16
+ contents : read
16
17
steps :
18
+ - name : Log into production account
19
+ uses : aws-actions/configure-aws-credentials@v4.1.0
20
+ with :
21
+ aws-region : eu-central-1
22
+ role-to-assume : arn:aws:iam::130607246975:role/ci-base-access
23
+ role-session-name : dss
17
24
- uses : actions/checkout@v3
18
25
- name : Set up JDK
19
26
uses : actions/setup-java@v3
You can’t perform that action at this time.
0 commit comments