diff --git a/.github/workflows/schemas.yml b/.github/workflows/schemas.yml index 1b056c0e..3668724f 100644 --- a/.github/workflows/schemas.yml +++ b/.github/workflows/schemas.yml @@ -32,12 +32,19 @@ jobs: id: changed-files uses: tj-actions/changed-files@v42 with: - files_yaml: | - docs: - - 'homestar-runtime/schemas/docs/*.json' + files: homestar-runtime/schemas/docs/** + since_last_remote_commit: true + + - name: List all changed files + env: + ALL_CHANGED_FILES: ${{ steps.changed-files.outputs.all_changed_files }} + run: | + for file in ${ALL_CHANGED_FILES}; do + echo "$file was changed" + done - name: Push changes - if: steps.changed-files-yaml.outputs.docs_any_changed == 'true' + if: steps.changed-files.outputs.any_changed == 'true' run: | git config user.name "${GITHUB_ACTOR}" git config user.email "${GITHUB_ACTOR}@users.noreply.github.com"