Skip to content

Commit

Permalink
exclude deleted config from workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Manh Cao committed Sep 20, 2024
1 parent 72132ab commit b35348d
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 -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' | grep '^protocols/' | xargs -L1 dirname | sed 's|protocols/||' | sort -u)
CHANGED_PROTOCOLS=$CHANGED_PROTOCOLS node validate-config.js

0 comments on commit b35348d

Please sign in to comment.