Skip to content
代码片段 群组 项目
未验证 提交 ade994e3 编辑于 作者: Nico Smeenk's avatar Nico Smeenk 提交者: GitLab
浏览文件

Add `**/*` for matching all files in `compare_to`

上级 756f7a9a
No related branches found
No related tags found
无相关合并请求
...@@ -125,12 +125,12 @@ job: ...@@ -125,12 +125,12 @@ job:
changes: changes:
compare_to: 'refs/heads/main' compare_to: 'refs/heads/main'
paths: paths:
- '*' - '**/*'
``` ```
The rule for this job compares all files and paths (`*`) in the current branch against The rule for this job compares all files and paths in the current branch
the default branch `main`. The rule matches and the job runs only when there are recursively (`**/*`) against the `main` branch. The rule matches and the
changes to the files in the branch. job runs only when there are changes to the files in the branch.
### Complex rules ### Complex rules
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册