Skip to content

Commit 349186d

Browse files
committed
try with selectors
Signed-off-by: Peter St. John <pstjohn@nvidia.com>
1 parent 37138d3 commit 349186d

File tree

2 files changed

+10
-6
lines changed

2 files changed

+10
-6
lines changed

.github/workflows/bionemo-recipes.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,9 @@ jobs:
3434
base_sha: main
3535
dir_names: true
3636
dir_names_max_depth: 2
37+
files: |
38+
'models/**'
39+
'recipes/**'
3740
3841
- name: Show output
3942
run: |

.github/workflows/unit-tests.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ jobs:
2929
- uses: actions/checkout@v4
3030
with:
3131
fetch-depth: 0
32+
3233
- uses: step-security/changed-files@v46
3334
id: changed-files
3435
with:
@@ -37,13 +38,13 @@ jobs:
3738
'!models/**'
3839
'!recipes/**'
3940
'!**.md'
40-
- name: List all changed files
41-
env:
42-
ALL_CHANGED_FILES: ${{ steps.changed-files.outputs.all_changed_files }}
41+
42+
- name: Show output
4343
run: |
44-
for file in ${ALL_CHANGED_FILES}; do
45-
echo "$file was changed"
46-
done
44+
echo '${{ toJSON(steps.changed-files.outputs) }}'
45+
shell:
46+
bash
47+
4748

4849
pre-commit:
4950
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)