Skip to content

Commit

Permalink
fix: use script to pull the compliance checks from the table
Browse files Browse the repository at this point in the history
  • Loading branch information
UlisesGascon committed Dec 7, 2024
1 parent b216d3c commit 71aaf34
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/sync_checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,9 @@ jobs:
cd temp-openjs-dashboard
npm install
npm run db:migrate
psql -U openjs -d dashboard -c "\copy (SELECT json_agg(t) FROM compliance_checks t) TO '../data/checks.json'"
npm run db:export-checks
mkdir -p output
cp output/checks.json ../data/checks.json
cd ..
rm -rf temp-openjs-dashboard
env:
Expand Down

0 comments on commit 71aaf34

Please sign in to comment.