Skip to content

Commit 5fc66f6

Browse files
nashifmmahadevan108
authored andcommitted
ci: twister: capture branch when publishing results
This way we can filter by branches in the dashboard. Signed-off-by: Anas Nashif <[email protected]>
1 parent 1c6066b commit 5fc66f6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/twister-publish.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,11 @@ jobs:
4343
if [ "${{github.event.workflow_run.event}}" = "push" ]; then
4444
python3 ./scripts/ci/upload_test_results_es.py -r ${run_date} \
4545
--run-attempt ${{github.run_attempt}} \
46+
--run-branch ${{github.ref_name}} \
4647
--index zephyr-main-ci-push-1 artifacts/*/*/twister.json
4748
elif [ "${{github.event.workflow_run.event}}" = "schedule" ]; then
4849
python3 ./scripts/ci/upload_test_results_es.py -r ${run_date} \
4950
--run-attempt ${{github.run_attempt}} \
51+
--run-branch ${{github.ref_name}} \
5052
--index zephyr-main-ci-weekly-1 artifacts/*/*/twister.json
5153
fi

0 commit comments

Comments
 (0)