Skip to content

Commit

Permalink
fix rule get CHANGED_PROTOCOLS (#12)
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 287dd5d commit 72132ab
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-only $HEAD_SHA $MAIN_SHA -- 'protocols/*' | grep '^protocols/' | xargs -L1 dirname | sed 's|protocols/||' | sort -u)
CHANGED_PROTOCOLS=$(git diff --name-only $HEAD_SHA $MAIN_SHA -- 'protocols/*' | grep -v '^D' | grep '^protocols/' | xargs -L1 dirname | sed 's|protocols/||' | sort -u)
CHANGED_PROTOCOLS=$CHANGED_PROTOCOLS node validate-config.js

0 comments on commit 72132ab

Please sign in to comment.