Skip to content

Commit c098dab

Browse files
author
l
committed
run on all PR label events
1 parent 6191edb commit c098dab

2 files changed

Lines changed: 17 additions & 16 deletions

File tree

.github/workflows/test-sdc-tasks.yml

Lines changed: 16 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -6,22 +6,22 @@ on:
66
# - 'individual-shell-tools/**.sh'
77
# - 'shell-pipelines/**.sh'
88
# - 'jq/*.sh'
9-
pull_request:
10-
paths:
11-
- 'individual-shell-tools/**.sh'
12-
- 'shell-pipelines/**.sh'
13-
- 'jq/*.sh'
14-
types:
15-
- labeled
16-
- unlabeled
17-
- opened
18-
- edited
19-
- reopened
9+
# pull_request:
10+
# # paths: # i think its not working because paths are never updated if the type is updated
11+
# # - 'individual-shell-tools/**.sh'
12+
# # - 'shell-pipelines/**.sh'
13+
# # - 'jq/*.sh'
14+
# types:
15+
# - labeled
16+
# - unlabeled
17+
# - opened
18+
# - edited
19+
# - reopened
2020
pull_request_target:
21-
paths:
22-
- 'individual-shell-tools/**.sh'
23-
- 'shell-pipelines/**.sh'
24-
- 'jq/*.sh'
21+
# paths:
22+
# - 'individual-shell-tools/**.sh'
23+
# - 'shell-pipelines/**.sh'
24+
# - 'jq/*.sh'
2525
types:
2626
- labeled
2727
- unlabeled
@@ -63,6 +63,7 @@ jobs:
6363
run: ./test-sdc.sh shell-pipelines
6464
shell: bash
6565
- name: read test output
66+
if: contains(steps.changed-files.outputs.all_changed_files, 'individual-shell-tools/awk/script-01.sh') || contains(steps.changed-files.outputs.all_changed_files, 'jq/script-01.sh') || contains(steps.changed-files.outputs.all_changed_files, 'shell-pipelines/ls-grep/script-01.sh')
6667
id: read-test-output
6768
run: |
6869
echo 'testoutput<<EOF' >> $GITHUB_OUTPUT

individual-shell-tools/awk/script-01.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ set -euo pipefail
44

55
# TODO: Write a command to output just the names of each player in `scores-table.txt`.
66
# Your output should contain 6 lines, each with just one word on it.
7-
awk '{print $1}' scores-table.txt #
7+
awk '{print $1}' scores-table.txt

0 commit comments

Comments
 (0)