diff --git a/.github/workflows/update-version-dashboard.yml b/.github/workflows/update-version-dashboard.yml index 62baec45..8ab2f642 100644 --- a/.github/workflows/update-version-dashboard.yml +++ b/.github/workflows/update-version-dashboard.yml @@ -19,12 +19,16 @@ jobs: steps: - name: Checkout repository uses: actions/checkout@v5 + with: + ref: main - name: Set up Nix 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 @@ -55,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 @@ -70,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