Skip to content

Commit cfd91af

Browse files
committed
address comments
Signed-off-by: georgi-l95 <glazarov95@gmail.com>
1 parent f25201e commit cfd91af

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

.github/workflows/local-node-test-reusable.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@ name: "Local Node E2E Tests Workflow"
44
on:
55
workflow_dispatch:
66
inputs:
7+
branch:
8+
description: "Specify the branch to run the workflow on (default: main)"
9+
required: false
10+
type: string
11+
default: "main"
712
networkNodeTag:
813
description: "Specify desired Network Node image tag"
914
required: false
@@ -21,6 +26,11 @@ on:
2126
default: ""
2227
workflow_call:
2328
inputs:
29+
branch:
30+
description: "Specify the branch to run the workflow on (default: main)"
31+
required: false
32+
type: string
33+
default: "main"
2434
networkNodeTag:
2535
description: "Specify desired Network Node image tag"
2636
required: false
@@ -64,6 +74,7 @@ jobs:
6474
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
6575
with:
6676
fetch-depth: 0
77+
ref: ${{ inputs.branch }}
6778

6879
- name: Expand Shallow Clone for Spotless
6980
run: |

.github/workflows/local-node-test.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
name: "Local Node E2E Tests"
33

44
on:
5+
pull_request:
6+
branches: [main]
57
push:
68
branches: [main]
79
tags: ["v*"]
@@ -13,3 +15,4 @@ jobs:
1315
networkNodeTag: ""
1416
mirrorNodeTag: ""
1517
relayTag: ""
18+
branch: ${{ github.ref_name }}

0 commit comments

Comments
 (0)