`on.<push|pull_request|pull_request_target>.<paths|paths-ignore>` should indicate how to match on git submodules
- 主要語言
- TypeScript
- 星號
- 20.8k
- 分支
- 68.7k
- 平均合併
- 13 小時 10 分鐘
- 30 天內合併 PR
- 111
描述
### Code of Conduct
- [x] I have read and agree to the GitHub Docs project's [Code of Conduct](https://github.com/github/docs/blob/main/.github/CODE_OF_CONDUCT.md)
### What article on docs.github.com is affected?
https://docs.github.com/en/actions/reference/workflows-and-actions/workflow-syntax#onpushpull_requestpull_request_targetpathspaths-ignore
### What part(s) of the article would you like to see updated?
Add a note that for changes to files in git submodules, the path to the changed top level submodule should be used (instead of the path to files within the submodule).
### Additional information
It took a couple of attempts for a dev to figure out the correct way to make this work: https://github.com/PowerDNS/pdns/compare/56c6b1011d488e26673320b9d54aa4a3bce6a28d..a13665dcb8f9d57033820f53d83aa3e387ca9ecb
貢獻指南
研究方向
Start with the workflow syntax article's on.push|pull_request|pull_request_target.paths|paths-ignore section and review the linked PowerDNS comparison for context. Update the article to explain that changes in a git submodule should match the top-level submodule path rather than paths inside it; verify the wording and links render correctly.
由索引模型根據 Issue 內容生成。
評估
- 領域
- documentation
- Issue 類型
- 文件
- 難度
- 1/5
- 預估耗時
- 1 小時以內
- 活躍度
- 活躍
- 描述清晰度
- 描述清楚
- 新手友好度
- 88/100