已开启
feat: pytorch_ci_trigger.yml 增加 push 事件类型 #4343
kerer-sk创建于  11 天前
kerer-sk
kerer-sk成员
11 天前 创建

问题现象

现有 pytorch_ci_trigger.yml 仅监听 repository_dispatchpull_request 类型,
上游 push 事件无法触发本 workflow。run-name 已支持 push 显示,但 on.repository_dispatch.types
缺少 push

原因分析

types: [pull_request] 只允许 pull_request 类型的 repository_dispatch 触发,
push 类型的 dispatch 被过滤,不会启动 workflow。

修复方案

types 数组追加 push
types: [pull_request, push]

与 #4339 的差异:#4339 提议新建独立文件 pytorch_ci_trigger_push.yml
本 Issue 采用更简洁方案——复用现有 trigger,仅追加事件类型。

关联 PR

修复分支已推送到 fork: kerer-sk/pytorch:feat/ci-trigger-add-push

likedislike
kerer-skkerer-sk成员
11 天前 添加了label:infra-tooling
kerer-skkerer-sk成员
11 天前 关联了看板:FrameworkPTAdapter 版本issue看板
TorchNPU-BotTorchNPU-Bot成员
11 天前 添加了label:triage-review
TorchNPU-Bot
TorchNPU-Bot成员
11 天前 评论:

issue待分派,添加triage-review标签

likedislike
kerer-skkerer-sk成员
11 天前 关联了pull request:feat: pytorch_ci_trigger.yml 增加 push 事件类型
TorchNPU-BotTorchNPU-Bot成员
11 天前 添加了label:bot-triaged;删除了label:triage-review
TorchNPU-Bot
TorchNPU-Bot成员
11 天前 评论:

检测到当前 issue 已关联 PR,自动添加标签:bot-triaged

likedislike
kerer-skkerer-sk成员
11 天前 将 kerer-sk 设为负责人