Skip to content

Commit 057a044

Browse files
authored
exclude deleted config from workflow (#14)
1 parent 72132ab commit 057a044

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: .github/workflows/validate-config.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,5 +34,5 @@ jobs:
3434

3535
- name: Validate JSON files
3636
run: |
37-
CHANGED_PROTOCOLS=$(git diff --name-only $HEAD_SHA $MAIN_SHA -- 'protocols/*' | grep -v '^D' | grep '^protocols/' | xargs -L1 dirname | sed 's|protocols/||' | sort -u)
37+
CHANGED_PROTOCOLS=$(git diff --name-status $HEAD_SHA $MAIN_SHA -- 'protocols/*' | grep -v '^D' | grep '^protocols/' | xargs -L1 dirname | sed 's|protocols/||' | sort -u)
3838
CHANGED_PROTOCOLS=$CHANGED_PROTOCOLS node validate-config.js

0 commit comments

Comments
 (0)