Skip to content

v0.2.0:Site Profiles 與 PR 檢查體驗

Choose a tag to compare

@denny0223 denny0223 released this 31 May 17:05
· 162 commits to master since this release

這次 release 加入 maintainer-controlled site profiles,並改善 profile PR 檢查失敗時的留言體驗,讓 contributor 和維護者更容易理解下一步。

重點更新

  • 新增 site-profiles/<event_id>/<source_person_id>.json,保存活動網站來源的顯示用名稱與頭像。
  • 新增 schemas/site-profile.schema.jsonpnpm site-profiles:validate;site profile 只允許 display_nameavatar_url
  • 更新 CI,push 時同時驗證 contributor profiles 與 site profiles。
  • self-service guard 會 hard-block 任何修改 site-profiles/ 的 Pull Request;site profiles 只接受維護者直接 commit。
  • profile auto-review 只把合法 GitHub username 當成 canonical appearance username,忽略 site: reference。
  • 改善 profile PR scope/trusted check 失敗時的留言與清理流程,讓 PR 作者能看到具體修正原因。
  • 更新 README、workflow 文件、AGENTS 與資料使用聲明,明確區分 profiles/site-profiles/

Profile 資料更新

v0.1.0 以來,也補入與更新了一批 contributor profile template / profile JSON,讓 people helper 與自助 profile 流程有更多可用資料。

驗證

  • pnpm test
  • pnpm profiles:validate
  • pnpm site-profiles:validate

Companion Release

本次 release 對應:

  • sitcon-tw/credits@v0.2.0

credits 負責 canonical Sheet 中的 site: profile reference 與身份審核邊界;本 repo 負責 contributor-owned profiles 與 maintainer-controlled site profile files。