We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 138bfc4 commit a1edc42Copy full SHA for a1edc42
action.yaml
@@ -90,9 +90,9 @@ runs:
90
shell: bash
91
run: |
92
echo "PRE_COMMIT_ARGS=--all-files" >> "$GITHUB_ENV"
93
- [[ "${{ steps.changed-files.outputs.any_changed }}" == "true" ]] || exit 0
+ [[ "${{ steps.changed-files.outputs.all_changed_files_count }}" != "0" ]] || exit 0
94
if [[ "${{ inputs.only-changed }}" == "true" ]]; then
95
- PRE_COMMIT_ARGS="--files ${{ steps.changed-files.outputs.files}}"
+ PRE_COMMIT_ARGS="--files ${{ steps.changed-files.outputs.all_changed_files }}"
96
echo "PRE_COMMIT_ARGS=$PRE_COMMIT_ARGS" >> "$GITHUB_ENV"
97
fi
98
- name: Pre-commit (action)
0 commit comments