-
Notifications
You must be signed in to change notification settings - Fork 334
feat(developer-hub): add Change Log page under Price Feeds #3674
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from 4 commits
8211d51
54e58ad
d4f4d1e
f94e824
27833c2
3d78ceb
0d09451
3ad2201
6101ada
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,53 @@ | ||
| name: Snapshot Pyth symbols for Change Log | ||
|
|
||
| on: | ||
| schedule: | ||
| # Daily at 00:30 UTC. Slight offset from midnight to avoid contention | ||
| # and to ensure any in-progress upstream writes have settled. | ||
| - cron: "30 0 * * *" | ||
| workflow_dispatch: {} | ||
|
|
||
| permissions: | ||
| contents: write | ||
|
|
||
| jobs: | ||
| snapshot: | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - uses: actions/checkout@v4 | ||
| with: | ||
| fetch-depth: 1 | ||
|
|
||
| - uses: pnpm/action-setup@v4 | ||
|
|
||
| - uses: actions/setup-node@v4 | ||
| with: | ||
| node-version: "22" | ||
| cache: pnpm | ||
|
|
||
| - name: Install dependencies for developer-hub | ||
| working-directory: apps/developer-hub | ||
| run: pnpm install --frozen-lockfile --filter @pythnetwork/developer-hub... | ||
|
|
||
| - name: Capture today's snapshot | ||
| working-directory: apps/developer-hub | ||
| run: pnpm snapshot:changelog | ||
|
|
||
| - name: Regenerate change log data | ||
| working-directory: apps/developer-hub | ||
| run: pnpm generate:changelog | ||
|
|
||
| - name: Commit and push if changed | ||
| run: | | ||
| git config user.name "github-actions[bot]" | ||
| git config user.email "41898282+github-actions[bot]@users.noreply.github.com" | ||
| git add apps/developer-hub/data/changelog-snapshots/ | ||
|
devin-ai-integration[bot] marked this conversation as resolved.
Outdated
|
||
|
|
||
| if git diff --cached --quiet; then | ||
| echo "No new snapshot — nothing to commit." | ||
| exit 0 | ||
| fi | ||
|
|
||
| DATE=$(date -u +%Y-%m-%d) | ||
| git commit -m "chore(developer-hub): daily change-log snapshot ${DATE}" | ||
| git push | ||
|
devin-ai-integration[bot] marked this conversation as resolved.
Outdated
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -3,5 +3,8 @@ | |
| dist/ | ||
| next-env.d.ts | ||
|
|
||
| # Auto-generated by `pnpm generate:changelog` from data/changelog-snapshots/. | ||
| src/components/ChangeLog/generated-data.ts | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Useful? React with 👍 / 👎. |
||
|
|
||
| # Ai Migration | ||
| .ai/** | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| --- | ||
| title: Change Log | ||
| description: Daily record of status transitions on Pyth price feeds — additions, activations, upcoming expirations, and removals. | ||
| slug: /price-feeds/changelog | ||
| --- | ||
|
|
||
| import { ChangeLog } from "../../../src/components/ChangeLog"; | ||
|
|
||
| <ChangeLog /> |
Uh oh!
There was an error while loading. Please reload this page.