Skip to content

Commit b0f271c

Browse files
Update gitstream.cm
This configuration does the following: It still always runs (condition is true). It adds a label that includes the word "branch-" followed by the full branch name. This step introduces the use of the branch variable within a Jinja2 expression, but doesn't yet attempt to manipulate the branch name.
1 parent e229eab commit b0f271c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.cm/gitstream.cm

+2-2
Original file line numberDiff line numberDiff line change
@@ -42,13 +42,13 @@ automations:
4242
label: "🗑️ Deleted files"
4343
color: "{{ colors.orange }}"
4444

45-
add_static_label:
45+
label_from_branch:
4646
if:
4747
- true
4848
run:
4949
- action: add-label@v1
5050
args:
51-
label: "test-label"
51+
label: "branch-{{ branch }}"
5252

5353
calc:
5454
etr: "{{ branch | estimatedReviewTime }}"

0 commit comments

Comments
 (0)