相关疑难解决方法(0)

仅当推送的文件位于特定文件夹中时,如何运行 github 操作

我有一个看起来像这样的文件夹结构。

- folder1
  - file1
  - *other files*
- folder2
  - file1
  - *other files*
- .gitignore
- package.json
- *other files*
Run Code Online (Sandbox Code Playgroud)

我想在推送时运行我的 github 操作,仅当任何更改/推送的文件位于folder1目录/文件夹中时。

continuous-integration github github-actions

11
推荐指数
5
解决办法
3500
查看次数