Skip to content
This repository was archived by the owner on Jan 20, 2025. It is now read-only.

Commit b6f3353

Browse files
committed
feat: align with visionBoard scripts
1 parent 0dc0087 commit b6f3353

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

.github/workflows/sync_checks.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@ jobs:
1919
image: postgres:17.2
2020
env:
2121
POSTGRES_DB: dashboard
22-
POSTGRES_USER: openjs
22+
POSTGRES_USER: visionBoard
2323
POSTGRES_PASSWORD: password
2424
ports:
2525
- 5432:5432
2626
options: >-
27-
--health-cmd="pg_isready -U openjs"
27+
--health-cmd="pg_isready -U visionBoard"
2828
--health-interval=10s
2929
--health-timeout=5s
3030
--health-retries=5
@@ -38,20 +38,20 @@ jobs:
3838
git fetch origin chore/update-content || true
3939
git checkout chore/update-content || git checkout -b chore/update-content
4040
41-
- name: Clone OpenJS Foundation Dashboard
41+
- name: Clone visionBoard and import checks
4242
run: |
43-
git clone https://github.com/OpenPathfinder/visionBoard.git temp-openjs-dashboard
44-
cd temp-openjs-dashboard
43+
git clone https://github.com/OpenPathfinder/visionBoard.git temp-visionBoard
44+
cd temp-visionBoard
4545
npm install
4646
npm run db:migrate
4747
mkdir -p output
4848
npm run db:export-checks
4949
cp output/checks.json ../data/checks.json
5050
cd ..
51-
rm -rf temp-openjs-dashboard
51+
rm -rf temp-visionBoard
5252
env:
5353
PGHOST: localhost
54-
PGUSER: openjs
54+
PGUSER: visionBoard
5555
PGPASSWORD: password
5656
PGDATABASE: dashboard
5757

@@ -65,7 +65,7 @@ jobs:
6565
git config user.name "GitHub Actions"
6666
git config user.email "[email protected]"
6767
git add -A
68-
git diff --cached --quiet || git commit -m "chore: sync with OpenJS Foundation Dashboard"
68+
git diff --cached --quiet || git commit -m "chore: sync with visionBoard Checks"
6969
7070
- name: Install Dependencies and update dynamic content
7171
run: |

0 commit comments

Comments
 (0)