File tree 4 files changed +6
-4
lines changed
4 files changed +6
-4
lines changed Original file line number Diff line number Diff line change 6
6
types :
7
7
- completed
8
8
9
- permissions :
10
- contents : read
11
-
12
9
jobs :
13
10
get_pr_details :
14
11
permissions :
15
- id-token : write
16
12
contents : read
13
+ id-token : write
14
+ pull-requests : read
17
15
# Guardrails to only ever run if PR recording workflow was indeed
18
16
# run in a PR event and ran successfully
19
17
if : ${{ github.event.workflow_run.conclusion == 'success' }}
27
25
permissions :
28
26
contents : read
29
27
id-token : write
28
+ pull-requests : write
30
29
needs : get_pr_details
31
30
runs-on : ubuntu-latest
32
31
steps :
Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ permissions:
12
12
jobs :
13
13
get_pr_details :
14
14
permissions :
15
+ contents : read
15
16
id-token : write
16
17
if : ${{ github.event.workflow_run.conclusion == 'success' }}
17
18
uses : ./.github/workflows/reusable_export_pr_details.yml
Original file line number Diff line number Diff line change 13
13
get_pr_details :
14
14
permissions :
15
15
id-token : write
16
+ contents : read
16
17
if : ${{ github.event.workflow_run.conclusion == 'success' }}
17
18
uses : ./.github/workflows/reusable_export_pr_details.yml
18
19
with :
Original file line number Diff line number Diff line change 43
43
export_pr_details :
44
44
permissions :
45
45
id-token : write
46
+ contents : read
46
47
# see https://github.com/aws-powertools/powertools-lambda-python/issues/1349
47
48
if : inputs.workflow_origin == 'aws-powertools/powertools-lambda-dotnet'
48
49
runs-on : ubuntu-latest
You can’t perform that action at this time.
0 commit comments