Skip to content

Commit

Permalink
fix validate config workflow (#19)
Browse files Browse the repository at this point in the history
Co-authored-by: Manh Cao <[email protected]>
  • Loading branch information
manh-pendle and Manh Cao authored Sep 20, 2024
1 parent 6a5a171 commit 0c50d38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/validate-config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,5 @@ jobs:

- name: Validate JSON files
run: |
CHANGED_PROTOCOLS=$(git diff --name-status $HEAD_SHA $MAIN_SHA -- 'protocols/*' | grep -v '^D' | grep '^protocols/' | xargs -L1 dirname | sed 's|protocols/||' | sort -u)
CHANGED_PROTOCOLS=$(git diff --name-status $HEAD_SHA $MAIN_SHA -- 'protocols/*' | grep -v '^D' | awk '{print $2}' | grep '^protocols/' | xargs -L1 dirname | sed 's|protocols/||' | sort -u)
CHANGED_PROTOCOLS=$CHANGED_PROTOCOLS node validate-config.js

0 comments on commit 0c50d38

Please sign in to comment.