File tree Expand file tree Collapse file tree 2 files changed +14
-0
lines changed Expand file tree Collapse file tree 2 files changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,11 @@ name: "Local Node E2E Tests Workflow"
4
4
on :
5
5
workflow_dispatch :
6
6
inputs :
7
+ branch :
8
+ description : " Specify the branch to run the workflow on (default: main)"
9
+ required : false
10
+ type : string
11
+ default : " main"
7
12
networkNodeTag :
8
13
description : " Specify desired Network Node image tag"
9
14
required : false
21
26
default : " "
22
27
workflow_call :
23
28
inputs :
29
+ branch :
30
+ description : " Specify the branch to run the workflow on (default: main)"
31
+ required : false
32
+ type : string
33
+ default : " main"
24
34
networkNodeTag :
25
35
description : " Specify desired Network Node image tag"
26
36
required : false
64
74
uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
65
75
with :
66
76
fetch-depth : 0
77
+ ref : ${{ inputs.branch }}
67
78
68
79
- name : Expand Shallow Clone for Spotless
69
80
run : |
Original file line number Diff line number Diff line change 2
2
name : " Local Node E2E Tests"
3
3
4
4
on :
5
+ pull_request :
6
+ branches : [main]
5
7
push :
6
8
branches : [main]
7
9
tags : ["v*"]
13
15
networkNodeTag : " "
14
16
mirrorNodeTag : " "
15
17
relayTag : " "
18
+ branch : ${{ github.ref_name }}
You can’t perform that action at this time.
0 commit comments