File tree Expand file tree Collapse file tree 1 file changed +1
-31
lines changed Expand file tree Collapse file tree 1 file changed +1
-31
lines changed Original file line number Diff line number Diff line change 1
- name : Test Report
1
+ name : Create Test Report
2
2
on :
3
3
# ① Automatic – when the Test workflow ends on main / develop
4
4
workflow_run :
5
5
workflows : ["Test"]
6
6
types : [completed]
7
7
branches : [main, develop]
8
8
9
- # ② Manual re-run / ad-hoc report
10
- workflow_dispatch :
11
- inputs :
12
- test_run_id :
13
- description : " Run ID of the completed Test workflow (see the URL)"
14
- required : true
15
- type : string
16
- branch :
17
- description : " Branch that Test was run on"
18
- required : true
19
- type : choice
20
- options : [main, develop]
21
- default : develop
22
-
23
9
permissions :
24
10
contents : read
25
11
actions : read
61
47
test_run_id : ${{ needs.discover-auto.outputs.run_id }}
62
48
branch : develop
63
49
secrets : inherit
64
-
65
- report-manual-main :
66
- if : ${{ github.event_name == 'workflow_dispatch' && inputs.branch == 'main' }}
67
- uses : Stillpoint-Software/shared-workflows/.github/workflows/test-report.yml@main
68
- with :
69
- test_run_id : ${{ inputs.test_run_id }}
70
- branch : main
71
- secrets : inherit
72
-
73
- report-manual-develop :
74
- if : ${{ github.event_name == 'workflow_dispatch' && inputs.branch == 'develop' }}
75
- uses : Stillpoint-Software/shared-workflows/.github/workflows/test-report.yml@develop
76
- with :
77
- test_run_id : ${{ inputs.test_run_id }}
78
- branch : develop
79
- secrets : inherit
You can’t perform that action at this time.
0 commit comments