Skip to content

Commit

Permalink
chore: Tinker with schemas action
Browse files Browse the repository at this point in the history
  • Loading branch information
bgins committed Feb 8, 2024
1 parent 4a54efd commit 18325ee
Showing 1 changed file with 13 additions and 4 deletions.
17 changes: 13 additions & 4 deletions .github/workflows/schemas.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,21 @@ jobs:
id: changed-files
uses: tj-actions/changed-files@v42
with:
files_yaml: |
docs:
- 'homestar-runtime/schemas/docs/*.json'
# files: homestar-runtime/schemas/docs/**
files: |
**.json
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"
Expand Down

0 comments on commit 18325ee

Please sign in to comment.