Skip to content

Commit 3fa1eec

Browse files
committed
fix: uncomment issues trigger and comment out unused steps in expression functions workflow
1 parent ed3c915 commit 3fa1eec

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

.github/workflows/expression-functions.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ on:
44
push:
55
branches:
66
- main
7-
# issues:
8-
# types: [opened, labeled]
7+
issues:
8+
types: [opened, labeled]
99

1010
jobs:
1111
expression-functions:
@@ -26,18 +26,18 @@ jobs:
2626
- name: Format and echo string
2727
run: echo ${{ format('Hello {0} {1} {2}', 'Mona', 'the', 'Octocat') }}
2828

29-
- name: Join issue labels
30-
if: github.event_name == 'issues'
31-
run: "echo 'Issue labels: ${{ join(github.event.issue.labels.*.name, ", ") }}'"
29+
# - name: Join issue labels
30+
# if: github.event_name == 'issues'
31+
# run: echo 'Issue labels: ${{ join(github.event.issue.labels.*.name, ", ") }}'
3232

33-
- name: Convert job context to JSON
34-
run: "echo 'Job context in JSON: ${{ toJSON(github.job) }}'"
33+
# - name: Convert job context to JSON
34+
# run: echo 'Job context in JSON: ${{ toJSON(github.job) }}'
3535

36-
- name: Parse JSON string
37-
run: echo 'Parsed JSON: ${{ fromJSON("{\"hello\":\"world\"}").hello }}'
36+
# - name: Parse JSON string
37+
# run: echo 'Parsed JSON: ${{ fromJSON("{\"hello\":\"world\"}").hello }}'
3838

39-
- name: Hash files
40-
run: echo 'Hash of files: ${{ hashFiles("**/package-lock.json", "**/Gemfile.lock") }}'
39+
# - name: Hash files
40+
# run: echo 'Hash of files: ${{ hashFiles("**/package-lock.json", "**/Gemfile.lock") }}'
4141

4242
- name: The job has succeeded
4343
if: success()

0 commit comments

Comments
 (0)