From 7e4b45ad2b0fab6127d128f2476298427d28201d Mon Sep 17 00:00:00 2001 From: danielporterda Date: Thu, 11 Jun 2026 11:06:52 -0400 Subject: [PATCH 1/4] Tag reviewers in version dashboard PRs --- .github/workflows/update-version-dashboard.yml | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/.github/workflows/update-version-dashboard.yml b/.github/workflows/update-version-dashboard.yml index 4e50007c..d3c90f11 100644 --- a/.github/workflows/update-version-dashboard.yml +++ b/.github/workflows/update-version-dashboard.yml @@ -47,6 +47,7 @@ jobs: GH_TOKEN: ${{ github.token }} PR_BRANCH: version-dashboard/update PR_TITLE: Update version dashboard data + PR_REVIEWERS: Jatinp26,shreyas-da,danielporterda,hrischuk-da run: | set -euo pipefail @@ -83,15 +84,22 @@ jobs: )" if [[ -n "$existing_pr_number" ]]; then + pr_number="$existing_pr_number" gh pr edit "$existing_pr_number" \ --repo "$GITHUB_REPOSITORY" \ --title "$PR_TITLE" \ --body-file "$pr_body" else - gh pr create \ + pr_url="$(gh pr create \ --base main \ --head "$PR_BRANCH" \ --repo "$GITHUB_REPOSITORY" \ --title "$PR_TITLE" \ - --body-file "$pr_body" + --body-file "$pr_body")" + pr_number="${pr_url##*/}" + echo "$pr_url" fi + + gh pr edit "$pr_number" \ + --repo "$GITHUB_REPOSITORY" \ + --add-reviewer "$PR_REVIEWERS" From 2b924ed91d943804b1d3c092effd32ef89bcbc5c Mon Sep 17 00:00:00 2001 From: danielporterda Date: Fri, 12 Jun 2026 09:38:31 -0400 Subject: [PATCH 2/4] Remove Daniel from dashboard PR reviewers --- .github/workflows/update-version-dashboard.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/update-version-dashboard.yml b/.github/workflows/update-version-dashboard.yml index d3c90f11..62baec45 100644 --- a/.github/workflows/update-version-dashboard.yml +++ b/.github/workflows/update-version-dashboard.yml @@ -47,7 +47,7 @@ jobs: GH_TOKEN: ${{ github.token }} PR_BRANCH: version-dashboard/update PR_TITLE: Update version dashboard data - PR_REVIEWERS: Jatinp26,shreyas-da,danielporterda,hrischuk-da + PR_REVIEWERS: Jatinp26,shreyas-da,hrischuk-da run: | set -euo pipefail From f8342106c0de1fbc245dda7652df339bb379ea24 Mon Sep 17 00:00:00 2001 From: danielporterda Date: Fri, 12 Jun 2026 10:06:02 -0400 Subject: [PATCH 3/4] Base dashboard updates on main --- .github/workflows/update-version-dashboard.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/update-version-dashboard.yml b/.github/workflows/update-version-dashboard.yml index 62baec45..5dceb8eb 100644 --- a/.github/workflows/update-version-dashboard.yml +++ b/.github/workflows/update-version-dashboard.yml @@ -19,6 +19,8 @@ jobs: steps: - name: Checkout repository uses: actions/checkout@v5 + with: + ref: main - name: Set up Nix uses: cachix/install-nix-action@v31 From f6a59624a7d4c85b208cd65d4b9ddd3032b2fb89 Mon Sep 17 00:00:00 2001 From: danielporterda Date: Fri, 12 Jun 2026 10:16:37 -0400 Subject: [PATCH 4/4] Regenerate network tabs in dashboard updates --- .github/workflows/update-version-dashboard.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/update-version-dashboard.yml b/.github/workflows/update-version-dashboard.yml index 5dceb8eb..8ab2f642 100644 --- a/.github/workflows/update-version-dashboard.yml +++ b/.github/workflows/update-version-dashboard.yml @@ -26,7 +26,9 @@ jobs: uses: cachix/install-nix-action@v31 - name: Update version dashboard - run: nix-shell --run 'npm run generate:version-compatibility-dashboard' + run: | + nix-shell --run 'npm run generate:version-compatibility-dashboard' + nix-shell --run 'npm run generate:network-variable-tabs' - name: Detect changes id: changes @@ -57,7 +59,7 @@ jobs: git config user.email "41898282+github-actions[bot]@users.noreply.github.com" git switch -c "$PR_BRANCH" - git add config/repo-version-config.json docs-main/snippets/generated/version-dashboard-data.mdx + git add config/repo-version-config.json docs-main git commit -m "$PR_TITLE" if remote_sha="$(git ls-remote --heads origin "$PR_BRANCH" | awk '{print $1}')" && [[ -n "$remote_sha" ]]; then @@ -72,6 +74,7 @@ jobs: Validation run by the workflow: - `npm run generate:version-compatibility-dashboard` + - `npm run generate:network-variable-tabs` - `git diff --check` EOF