Skip to content
This repository was archived by the owner on Apr 18, 2024. It is now read-only.

Commit fc75379

Browse files
committed
ci: Pass branch names to the jobs
1 parent 27af3fe commit fc75379

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/cicd_pipeline.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ jobs:
2323
with:
2424
sha: ${{ github.event.pull_request.head.sha || github.event.after }}
2525
branch_name: ${{ github.event.pull_request.head.ref || github.ref_name }}
26+
ref: ${{ github.event.pull_request.head.ref || github.ref_name }}
2627
secrets: inherit
2728

2829
run_e2e:
@@ -34,6 +35,7 @@ jobs:
3435
with:
3536
sha: ${{ github.event.pull_request.head.sha || github.event.after }}
3637
branch_name: ${{ github.event.pull_request.head.ref || github.ref_name }}
38+
ref: ${{ github.event.pull_request.head.ref || github.ref_name }}
3739
secrets: inherit
3840

3941
run_unit:
@@ -43,6 +45,7 @@ jobs:
4345
with:
4446
sha: ${{ github.event.pull_request.head.sha || github.event.after }}
4547
branch_name: ${{ github.event.pull_request.head.ref || github.ref_name }}
48+
ref: ${{ github.event.pull_request.head.ref || github.ref_name }}
4649
secrets: inherit
4750

4851
run_lint:
@@ -52,4 +55,5 @@ jobs:
5255
with:
5356
sha: ${{ github.event.pull_request.head.sha || github.event.after }}
5457
branch_name: ${{ github.event.pull_request.head.ref || github.ref_name }}
58+
ref: ${{ github.event.pull_request.head.ref || github.ref_name }}
5559
secrets: inherit

0 commit comments

Comments
 (0)