Skip to content

chore(seo): 每日更新匯差範例數據#522

Merged
s123104 merged 1 commit into
mainfrom
chore/daily-seo-rate-update
Jul 4, 2026
Merged

chore(seo): 每日更新匯差範例數據#522
s123104 merged 1 commit into
mainfrom
chore/daily-seo-rate-update

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

自動更新:RateWise 匯率 fallback 與 SEO 匯差範例數據

由 GitHub Actions 排程每日自動執行。腳本:update-seo-rate-examples.mjs

資料來源雙重驗證

來源 說明
cdn.jsdelivr.net 台銀牌告 現金賣出價(臨櫃實際到手)
open.er-api.com 市場中間價(Google / XE / Wise / Apple 基準)
台銀 (買入+賣出)/2 雙重驗證,差距 ≤ 2% 才通過

生成欄位

foreignAtCash / foreignAtMarketMid / diffForeign / diffTWD / diffPct / marketMid / bankMid

自動化

  • PR 建立後交由 branch protection、required checks 與 maintainer review 控制合併
  • 若 repo 啟用 GitHub auto-merge / merge queue,應由 GitHub 在條件滿足後合併
  • 無變更時不建立 PR,靜默略過
  • 幣別資料缺漏時腳本 exit(1),工作流程明確失敗

@github-actions github-actions Bot force-pushed the chore/daily-seo-rate-update branch 3 times, most recently from 439631c to e1f9b0f Compare July 3, 2026 06:04
- 自動更新 build-time fallback 匯率 snapshot
- 自動更新各幣別現金賣出 vs 市場中間價差距(換 3 萬台幣情境)
- 雙重驗證:open.er-api.com 中間價 vs 台銀自身 (買入+賣出)/2 中間價
- 差距超過 2% 幣別已警告(東南亞幣別預期偏高)

測試:GitHub Actions 排程自動觸發
@github-actions github-actions Bot force-pushed the chore/daily-seo-rate-update branch from e1f9b0f to dc41467 Compare July 4, 2026 05:56
@s123104 s123104 enabled auto-merge (squash) July 4, 2026 06:35
@s123104 s123104 closed this Jul 4, 2026
auto-merge was automatically disabled July 4, 2026 07:18

Pull request was closed

@s123104 s123104 reopened this Jul 4, 2026
@github-actions

github-actions Bot commented Jul 4, 2026

Copy link
Copy Markdown
Contributor Author

⚠️ Deprecation Warning: The deny-licenses option is deprecated for possible removal in the next major release. For more information, see issue 997.

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Scanned Files

None

@s123104 s123104 enabled auto-merge (squash) July 4, 2026 07:19
@github-actions

github-actions Bot commented Jul 4, 2026

Copy link
Copy Markdown
Contributor Author

✅ SEO 審計通過!所有 2026 標準驗證項目都符合要求。

  • ✅ Sitemap 2026 標準
  • ✅ Breadcrumb Schema
  • ✅ JSON-LD 結構化數據
  • ✅ 內部連結結構

@s123104 s123104 merged commit 7ac67e6 into main Jul 4, 2026
29 checks passed
@s123104 s123104 deleted the chore/daily-seo-rate-update branch July 4, 2026 07:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant