Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 2 additions & 8 deletions .github/workflows/check_dependencies.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@
# Reusable workflow: call from a consumer repo with pull_request (labeled) and/or workflow_dispatch.
#
# Does not run check_auth: that job updates CONFIG_JSON via gh secret set, which notifies
# repo/org admins by email. The CLI check-dependencies command only scans local Liquid Test
# YAML files and does not need API credentials.
# repo/org admins by email. check-dependencies only scans local Liquid Test YAML files.
name: Check dependencies
run-name: Check dependencies for changed reconciliation templates
on:
Expand Down Expand Up @@ -140,19 +139,14 @@ jobs:
});
}

- name: Setup Node and Silverfin CLI
if: steps.handles.outputs.handles_json != '[]'
run: |
npm install https://github.com/silverfin/silverfin-cli.git
node ./node_modules/silverfin-cli/bin/cli.js -V

# Run check-dependencies for each handle and collect results
- name: Run check-dependencies per handle
id: run-check
if: steps.handles.outputs.handles_json != '[]'
env:
HANDLES_JSON: ${{ steps.handles.outputs.handles_json }}
run: |
npm install https://github.com/silverfin/silverfin-cli.git
job_failed=0
: > check_results.txt
while IFS= read -r handle; do
Expand Down
Loading