diff options
| author | Jakub Beránek <berykubik@gmail.com> | 2025-01-09 21:40:29 +0100 |
|---|---|---|
| committer | Jakub Beránek <berykubik@gmail.com> | 2025-01-09 21:40:29 +0100 |
| commit | c8b29d6f6f9a7953e41fc71a6a7c6762cf489c39 (patch) | |
| tree | 17239ed9f2beb888e9b4a98f95616e394786753c /src/ci/github-actions | |
| parent | 824759493246ee383beb9cd5ceffa0e15deb9fa4 (diff) | |
| download | rust-c8b29d6f6f9a7953e41fc71a6a7c6762cf489c39.tar.gz rust-c8b29d6f6f9a7953e41fc71a6a7c6762cf489c39.zip | |
CI: fix name of jobs
There is a difference between the `image` (the Dockerfile), the `name` of the job (which determines also its properties) and the `full_name`, which includes the `auto/try/pr` prefix.
Diffstat (limited to 'src/ci/github-actions')
| -rwxr-xr-x | src/ci/github-actions/ci.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ci/github-actions/ci.py b/src/ci/github-actions/ci.py index 97539cf1cdb..b7dac412dbe 100755 --- a/src/ci/github-actions/ci.py +++ b/src/ci/github-actions/ci.py @@ -37,7 +37,7 @@ def add_job_properties(jobs: List[Dict], prefix: str) -> List[Job]: # Create a copy of the `job` dictionary to avoid modifying `jobs` new_job = dict(job) new_job["image"] = get_job_image(new_job) - new_job["name"] = f"{prefix} - {new_job['name']}" + new_job["full_name"] = f"{prefix} - {new_job['name']}" modified_jobs.append(new_job) return modified_jobs |
