Repository navigation
デモに OGP とサイトマップを追加し、CI に書式の確認とパッケージの出所の証明を追加 - #25
Merged
Merged
Conversation
- デモの 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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
概要
デモサイト
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で添付)gh attestation verifyで確認できるのは Release に添付したもの。README に確認方法を記載actions.lockを更新確認
dotnet format --verify-no-changesが差分なし。インデントを崩すと失敗することgh actions-lock --verifyが成功sitemap.xmlと OGP タグが含まれること🤖 Generated with Claude Code
https://claude.ai/code/session_01HNb8H3hV3ndoRpyuu59g1u