Skip to content

Commit 81d0409

Browse files
committed
Add env GITHUB_TOKEN to fix "API rate limit exceeded" error from iterative/setup-cml@v2 when running the model Visualization workflow
1 parent cd5c3bf commit 81d0409

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/deploy-dbt.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -440,9 +440,6 @@ jobs:
440440
- name: Setup Graphviz
441441
uses: ts-graphviz/setup-graphviz@v2
442442

443-
- name: Setup Continuous Machine Learning tools
444-
uses: iterative/setup-cml@v2
445-
446443
- name: Setup Python
447444
uses: actions/setup-python@v5
448445
with:
@@ -481,8 +478,13 @@ jobs:
481478
working-directory: warehouse
482479
run: gsutil cp gs://calitp-dbt-docs/*.json ./target/latest/
483480

481+
- name: Setup Continuous Machine Learning tools
482+
uses: iterative/setup-cml@v2
483+
484484
- name: Create CI report
485485
working-directory: warehouse
486+
env:
487+
REPO_TOKEN: ${{ secrets.GITHUB_TOKEN }}
486488
run: poetry run python scripts/visualize.py ci-report --latest-dir='./target/latest/'
487489

488490
- name: Archive CI report

0 commit comments

Comments
 (0)