Hot fix for AMD CI workflow (#38349)
Some checks are pending
Self-hosted runner (benchmark) / Benchmark (aws-g5-4xlarge-cache) (push) Waiting to run
Build documentation / build (push) Waiting to run
Slow tests on important models (on Push - A10) / Get all modified files (push) Waiting to run
Slow tests on important models (on Push - A10) / Slow & FA2 tests (push) Blocked by required conditions
Self-hosted runner (push-caller) / Check if setup was changed (push) Waiting to run
Self-hosted runner (push-caller) / build-docker-containers (push) Blocked by required conditions
Self-hosted runner (push-caller) / Trigger Push CI (push) Blocked by required conditions
Secret Leaks / trufflehog (push) Waiting to run
Update Transformers metadata / build_and_package (push) Waiting to run

fix

Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
This commit is contained in:
Yih-Dar 2025-05-25 11:15:31 +02:00 committed by GitHub
parent d0c9c66d1c
commit 4a03044ddb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1313,7 +1313,7 @@ if __name__ == "__main__":
event_payload = json.load(fp)
# The event that triggers the `workflow_run` event.
if "workflow_run" in event_payload:
is_scheduled_ci_run = event_payload["event"] == "schedule"
is_scheduled_ci_run = event_payload["workflow_run"]["event"] == "schedule"
# The values are used as the file names where to save the corresponding CI job results.
test_to_result_name = {