Skip to content

Commit

Permalink
[HOTFIX] Handle School names with commas in them (#233)
Browse files Browse the repository at this point in the history
  • Loading branch information
yodarjun authored Nov 14, 2024
1 parent 1b18098 commit 9d4eeba
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/schools_updater.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,9 @@ jobs:
run: |
# Add first line to CSV file
echo "\"Below is a list of all schools that we've manually verified. If you see one that hasn't been included, please add it via my.mlh.io and we'll verify it soon.\"" > schools.csv
# Extract only the "name" field from each entry and overwrite data.json
jq -r '.[].name' data.json >> schools.csv
# Wrap each "name" in an array to use @csv for correct CSV formatting
jq -r '.[].name | [.] | @csv' data.json >> schools.csv
- name: Commit and push CSV file
uses: stefanzweifel/git-auto-commit-action@v5
Expand Down

0 comments on commit 9d4eeba

Please sign in to comment.