Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
68 changes: 68 additions & 0 deletions .github/workflows/generate-pro-changelog.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
name: Generate Pro Price Feed Changelog

on:
schedule:
- cron: "30 0 * * *"
workflow_dispatch:
inputs:
full_rebuild:
type: boolean
default: false

concurrency:
group: pro-changelog
cancel-in-progress: true

jobs:
generate:
runs-on: ubuntu-latest
defaults:
run:
working-directory: apps/developer-hub
permissions:
contents: write
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
ref: main

- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
repository: pyth-network/pyth-lazer-governance
token: ${{ secrets.GOVERNANCE_REPO_TOKEN }}
path: .governance-repo
fetch-depth: 1
sparse-checkout: |
*/after.json
sparse-checkout-cone-mode: false

- uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0

- uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
with:
node-version: 24
cache: pnpm

- run: pnpm install --frozen-lockfile

- name: Generate changelog
env:
GOVERNANCE_REPO_PATH: ${{ github.workspace }}/.governance-repo
FULL_REBUILD: ${{ github.event.inputs.full_rebuild || 'false' }}
run: pnpm run generate:pro-price-feed-changelog

- name: Validate output
run: pnpm tsx ./scripts/validate-pro-changelog-output.ts

- name: Commit and push
run: |
cd ${{ github.workspace }}
git config user.email 'github-actions[bot]@users.noreply.github.com'
git config user.name 'github-actions[bot]'
git add apps/developer-hub/public/data/pro-price-feed-changelog/daily-rollups.json
if git diff --staged --quiet; then
echo 'No changes to commit'
else
git commit -m 'chore(developer-hub): update Pro price feed changelog'
git push
fi
1 change: 1 addition & 0 deletions apps/developer-hub/content/docs/price-feeds/pro/meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
"error-codes",
"faq",
"price-feed-ids",
"price-feed-id-changelog",
"contract-addresses",
"market-hours",
"futures-terminology",
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
---
title: Price Feed ID Changelog
description: Daily UTC changelog for Pyth Pro Price Feed ID updates
slug: /price-feeds/pro/price-feed-id-changelog
---

import { Suspense } from "react";
import { PriceFeedIdsProChangelog } from "../../../../src/components/PriceFeedIdsProChangelog";
import { Callout } from "fumadocs-ui/components/callout";

<Callout type="info">
This page is derived from governance proposals in the Pyth Pro feed registry,
grouped by UTC date.

The default view focuses on status transitions (including `Coming Soon ->
Stable`). Turn on `Include all property changes` to inspect every detected
field diff.
</Callout>

<Suspense>
<PriceFeedIdsProChangelog />
</Suspense>
2 changes: 2 additions & 0 deletions apps/developer-hub/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,10 @@
"count:llm-tokens": "tsx ./scripts/count-llm-tokens.ts",
"fix:lint:stylelint": "stylelint --fix 'src/**/*.scss'",
"generate:docs": "tsx ./scripts/generate-docs.ts",
"generate:pro-price-feed-changelog": "tsx ./scripts/generate-pro-price-feed-changelog.ts",
"start:dev": "next dev --port 3627",
"start:prod": "next start --port 3627",
"test": "NODE_OPTIONS='--experimental-vm-modules' jest",
"test:lint:stylelint": "stylelint 'src/**/*.scss' --max-warnings 0",
"test:types": "tsc"
},
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"generatedAt":"2026-03-09T21:03:54.124Z","source":"pyth-network/pyth-lazer-governance","days":[]}
Loading
Loading