File tree 2 files changed +7
-3
lines changed
2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change 76
76
strategy :
77
77
matrix :
78
78
repos :
79
- - google/uv-metrics
80
79
- toml-lang/toml
81
80
- pre-commit/pre-commit
82
81
- actions/starter-workflows
Original file line number Diff line number Diff line change 70
70
config-file : ${{ inputs.config-file }}
71
71
turo-conventional-commit : ${{ inputs.turo-conventional-commit }}
72
72
- name : Get changed files
73
- uses : tj-actions/changed-files@v45
73
+ uses : dorny/paths-filter@v3
74
+ with :
75
+ list-files : shell
76
+ filters : |
77
+ changes:
78
+ - '**'
74
79
if : inputs.only-changed == 'true'
75
80
id : changed-files
76
81
- name : Select files to run pre-commit against
79
84
echo "PRE_COMMIT_ARGS=--all-files" >> "$GITHUB_ENV"
80
85
[[ "${{ steps.changed-files.outputs.all_changed_files_count }}" != "0" ]] || exit 0
81
86
if [[ "${{ inputs.only-changed }}" == "true" ]]; then
82
- PRE_COMMIT_ARGS="--files ${{ steps.changed-files.outputs.all_changed_files }}"
87
+ PRE_COMMIT_ARGS="--files ${{ steps.changed-files.outputs.changes_files }}"
83
88
echo "PRE_COMMIT_ARGS=$PRE_COMMIT_ARGS" >> "$GITHUB_ENV"
84
89
fi
85
90
You can’t perform that action at this time.
0 commit comments