Skip to content

Commit bad9bc4

Browse files
fix: regenerate 2026-03-06 metrics and correct workflow ordering
1 parent c246ad5 commit bad9bc4

18 files changed

+425
-426
lines changed

.github/workflows/deploy-dashboard.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,11 @@ on:
88
- 'dashboard/**'
99
- 'metrics/*.json'
1010
- '.github/workflows/deploy-dashboard.yml'
11+
workflow_run:
12+
workflows:
13+
- Weekly Design System Metrics
14+
types:
15+
- completed
1116
workflow_dispatch: # Allow manual trigger
1217

1318
permissions:
@@ -22,10 +27,13 @@ concurrency:
2227

2328
jobs:
2429
build:
30+
if: ${{ github.event_name != 'workflow_run' || github.event.workflow_run.conclusion == 'success' }}
2531
runs-on: ubuntu-latest
2632
steps:
2733
- name: Checkout
2834
uses: actions/checkout@v4
35+
with:
36+
ref: main
2937

3038
- name: Setup Node.js
3139
uses: actions/setup-node@v4

.github/workflows/weekly-metrics.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,15 +56,15 @@ jobs:
5656
- name: Generate mobile metrics
5757
run: yarn start:mobile
5858

59-
- name: Generate Slack report
60-
run: yarn slack-report --output metrics/slack-report-${{ steps.date.outputs.date }}.md
61-
6259
- name: Update timeline data
6360
run: yarn update-timeline
6461

6562
- name: Validate metrics consistency
6663
run: yarn validate-metrics
6764

65+
- name: Generate Slack report
66+
run: yarn slack-report --output metrics/slack-report-${{ steps.date.outputs.date }}.md
67+
6868
- name: Copy metrics to dashboard
6969
run: cp metrics/*.json dashboard/public/metrics/
7070

0 commit comments

Comments
 (0)