File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -36,12 +36,13 @@ jobs:
3636
3737 while read modifier file; do
3838 if [[ $file == _plugins/* ]] && [[ $file == *.md ]]; then
39+ args="--debug --check-internal-assets --check-id-match --check-asset-match --check-py3-compat --action-output"
3940 if [ "$modifier" == "M" ]; then
4041 echo "MODIFIED: $file"
41- python ../current/.github/scripts/validate_front_matter.py "$file" --debug -- check-date-unchanged=${{ github.event.pull_request.base.sha }} --action-output
42+ python ../current/.github/scripts/validate_front_matter.py "$file" --check-date-unchanged=${{ github.event.pull_request.base.sha }} $args
4243 elif [ "$modifier" == "A" ]; then
4344 echo "ADDED: $file"
44- python ../current/.github/scripts/validate_front_matter.py "$file" --debug --check-internal-assets --check-id-match --check-py3-compat --action-output
45+ python ../current/.github/scripts/validate_front_matter.py "$file" $args
4546 fi
4647 fi
4748 done < <(git diff-tree --no-commit-id --name-status -r ${{ github.event.pull_request.base.sha }} ${{ github.event.pull_request.head.sha }} | xargs -n2 )
You can’t perform that action at this time.
0 commit comments