You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Refactor to support positive and negative head branch filters
This replaces the proposed `head_branch_filter` option with two
options: `head_branches` selects PRs that match the specified glob,
and `ignore_head_branches` selects PRs that do not match the
specified glob.
This provides more control over filtering PRs based on the head
branch, and brings head branch filtering in line with what already
exists for path filtering.
Copy file name to clipboardExpand all lines: README.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -34,7 +34,8 @@ Make sure to check out [#migrating](#migrating) to learn more.
34
34
|`git_crypt_key`| No |`AEdJVENSWVBUS0VZAAAAA...`| Base64 encoded git-crypt key. Setting this will unlock / decrypt the repository with git-crypt. To get the key simply execute `git-crypt export-key -- - | base64` in an encrypted repository. |
35
35
|`base_branch`| No |`master`| Name of a branch. The pipeline will only trigger on pull requests against the specified branch. |
36
36
|`labels`| No |`["bug", "enhancement"]`| The labels on the PR. The pipeline will only trigger on pull requests having at least one of the specified labels. |
37
-
|`head_branch_filter`| No |`release/*`| If specified, the pipeline will only trigger on pull requests for which the head branch name matches the specified glob pattern. |
37
+
|`head_branches`| No |`release/*`| If specified, the pipeline will only trigger on pull requests for which the head branch name matches the specified glob pattern. |
38
+
|`ignore_head_branches`| No |`release/*`| Inverse of the above |
38
39
39
40
Notes:
40
41
- If `v3_endpoint` is set, `v4_endpoint` must also be set (and the other way around).
0 commit comments