Skip to content

Commit 6da87a1

Browse files
dfbdfgsnthdgj
1 parent 88df31b commit 6da87a1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/expression-functions.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ on:
44
push:
55
branches:
66
- main
7+
issues:
8+
types: [opened, labelled]
79

810
jobs:
911
expression-functions:
@@ -22,7 +24,7 @@ jobs:
2224
run: echo ${{ format('Hello {0} {1} {2}', 'Mona', 'the', 'Octocat') }}
2325
- name: Join issue labels
2426
if: github.event_name == 'issues'
25-
run: echo "Issue labels: ${{ join(github.event.issue.labels.*.name, ', ') }}"
27+
run: 'echo "Issue labels: ${{ join(github.event.issue.labels.*.name, ', ') }}"'
2628
- name: Convert job context to JSON
2729
run: echo "Job context in JSON: ${{ toJSON(github.job) }}"
2830
- name: Parse JSON string

0 commit comments

Comments
 (0)