github - Github Actions - 当分支中的特定目录获得更新时,如何触发推送?
问题描述
我希望我的工作流仅在对特定目录进行更改时触发推送。这可能吗,我错过了什么?我试着做一些你在下面看到的事情,但它没有触发触发器。
name: ABC
on:
push:
branches: [master/my-directory]
pull_request:
branches: [ master ]
解决方案
推荐阅读
- c# - 关于 Emgu.CV.Util.CvException: 'OpenCV: videoSample' 错误
- magento2.2 - PDOException:SQLSTATE [42S02]:未找到基表或视图:1146 表 'admin_newapmasala.core_config_data' 中不存在
- python - 如何将此 Matplotlib 绘图保存为 Numpy 数组?
- android - 将 Fragment 中视图上的点击事件传递给 Activity
- javascript - 需要帮助更正并将两个功能合二为一
- mysql - 如何修复 MySQL 查询不返回空值
- reactjs - Redux 不适用于 React 路由器 || 更改网址不查看 || 尝试使用Router 但未在正确的组件上使用
- reactjs - 在firebase中更新时,反应中的传播运算符导致每个字符保存在它自己的数组中
- nuget-package - 安装 Visual Studio 2019 社区版时缺少 Nuget 包
- java - 如何在主页上交换片段(并修复 java.lang.IllegalArgumentException: No view found for id 0x7f08007c)