Skip to content

Commit a90c01c

Browse files
Update gitstream.cm
Testing label from branch simple expression
1 parent 8295898 commit a90c01c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.cm/gitstream.cm

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

45-
label_from_branch:
45+
# Option 1: Using a simpler expression
46+
label_from_branch_1:
4647
if:
4748
- true
4849
run:
4950
- action: add-label@v1
5051
args:
51-
label: "{{ branch | split('/') | first }}"
52+
label: "{{ branch }}"
5253
calc:
5354
etr: "{{ branch | estimatedReviewTime }}"
5455

0 commit comments

Comments
 (0)