File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 23
23
pull_request :
24
24
paths :
25
25
- .github/workflows/vllm-benchmark.yml
26
- - vllm-benchmarks/benchmarks/ **
26
+ - vllm-benchmarks/**
27
27
28
28
concurrency :
29
29
group : ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}-${{ github.event_name == 'workflow_dispatch' }}-${{ github.event_name == 'schedule' }}
Original file line number Diff line number Diff line change @@ -111,8 +111,9 @@ def parse_args() -> Any:
111
111
112
112
def get_git_metadata (repo_dir : str ) -> Tuple [str , str ]:
113
113
repo = Repo (repo_dir )
114
- # Git metadata
115
- repo_name = repo .remotes .origin .url .split (".git" )[0 ].split (":" )[- 1 ]
114
+ # Git metadata, an example remote URL is https://github.com/vllm-project/vllm.git
115
+ # and we want the vllm-project/vllm part
116
+ repo_name = repo .remotes .origin .url .split (".git" )[0 ].replace ("https://github.com/" , "" )
116
117
hexsha = repo .head .object .hexsha
117
118
committed_date = repo .head .object .committed_date
118
119
You can’t perform that action at this time.
0 commit comments