File tree Expand file tree Collapse file tree 2 files changed +10
-6
lines changed
Expand file tree Collapse file tree 2 files changed +10
-6
lines changed Original file line number Diff line number Diff line change 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 : |
Original file line number Diff line number Diff line change 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
You can’t perform that action at this time.
0 commit comments