Skip to content

デモに OGP とサイトマップを追加し、CI に書式の確認とパッケージの出所の証明を追加 - #25

Merged
cssho merged 1 commit into
masterfrom
maintenance
Nov 7, 2026
Merged

cssho merged 1 commit into
masterfrom
maintenance

Conversation

@cssho

@cssho cssho commented Nov 7, 2026

Copy link
Copy Markdown
Owner

概要

デモサイト

  • index.html に OGP(og:*)・twitter:card・canonical を追加。画像は README と同じ docs/demo.png(絶対 URL)
  • sitemap.xml を追加(Search Console で送信する)
  • robots.txt はドメイン直下(cssho.github.io/robots.txt)でしか読まれないため置いていない

CI(build.yml)

  • format ジョブ: dotnet format --verify-no-changes で .editorconfig に従っているか確認。build-result の needs に追加したので、ルールセットの必須チェックは変更不要
  • publish ジョブ: nuget.org に push する前に actions/attest@v4.2.2 でパッケージの出所を証明(attestations: write・artifact-metadata: write を追加)
  • github-release ジョブ: 証明したパッケージを Release に添付(作成済みの Release には --clobber で添付)
    • nuget.org は公開時にリポジトリ署名を付けてファイルが変わるため、gh attestation verify で確認できるのは Release に添付したもの。README に確認方法を記載
  • actions.lock を更新

確認

  • 既存のコードで dotnet format --verify-no-changes が差分なし。インデントを崩すと失敗すること
  • gh actions-lock --verify が成功
  • デモの発行結果に sitemap.xml と OGP タグが含まれること
  • 出所の証明と Release への添付はタグの push 時だけ動くため、次のリリースで初めて動く

🤖 Generated with Claude Code

https://claude.ai/code/session_01HNb8H3hV3ndoRpyuu59g1u

- デモの index.html に OGP・Twitter カード・canonical を追加し、sitemap.xml を置く
- build.yml に dotnet format --verify-no-changes の format ジョブを追加し、build-result にまとめる
- 公開時に actions/attest でパッケージの出所を証明し、GitHub Release に添付する

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01HNb8H3hV3ndoRpyuu59g1u
@cssho
cssho merged commit f0f0b5c into master Nov 7, 2026
14 checks passed
@cssho
cssho deleted the maintenance branch November 7, 2026 12:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant