Skip to content

chore: GitHub Actions を commit SHA でピン留め#3

Merged
nanasess merged 1 commit into
mainfrom
feature/actions-commit-hash
Apr 21, 2026
Merged

chore: GitHub Actions を commit SHA でピン留め#3
nanasess merged 1 commit into
mainfrom
feature/actions-commit-hash

Conversation

@nanasess
Copy link
Copy Markdown
Contributor

概要

supply-chain 対策として、すべての GitHub Actions を mutable なタグ参照から不変の commit SHA 参照に切り替えます。

変更内容

  • .github/workflows/deploy.ymluses:owner/repo@<40文字SHA> # vX.Y.Z 形式に変換(pinact 3.9.0 で自動生成)
  • 対象: actions/checkout / 1password/load-secrets-action / peaceiris/actions-hugo / cloudflare/wrangler-action
  • Dependabot (github-actions) は既存設定のままで SHA アップデート可能

動機

  • タグ(@v3 等)は mutable で、Action 作者アカウント侵害時に @v3 が差し替えられた場合、次回デプロイで汚染コードが取り込まれる
  • 個人アカウント所有の peaceiris/actions-hugo は相対的にリスクが高く、SHA ピン留めの恩恵が特に大きい

動作確認

  • main へのマージ後、Cloudflare Pages へのデプロイが成功

関連

EcAuth organization 配下のほかのリポジトリでも同一方針で順次対応します。

🤖 Generated with Claude Code

`.github/workflows/deploy.yml` の全 `uses:` を `@<40文字 SHA> # vX.Y.Z`
形式に変換 (pinact 3.9.0 で自動生成)。

Supply-chain 対策として、サードパーティ Actions のミュータブルなタグ参照を
不変の commit SHA に固定する。Dependabot (github-actions) が設定済みのため、
バージョンコメントを元に今後も自動アップデートされる。
@gemini-code-assist
Copy link
Copy Markdown

Note

Gemini is unable to generate a review for this pull request due to the file types involved not being currently supported.

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Apr 21, 2026

Warning

Rate limit exceeded

@nanasess has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 58 minutes and 32 seconds before requesting another review.

Your organization is not enrolled in usage-based pricing. Contact your admin to enable usage-based pricing to continue reviews beyond the rate limit, or try again in 58 minutes and 32 seconds.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 8b2d7be5-0efe-4522-87b9-7993a366f7a0

📥 Commits

Reviewing files that changed from the base of the PR and between a351b02 and e65309d.

📒 Files selected for processing (1)
  • .github/workflows/deploy.yml
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feature/actions-commit-hash

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@nanasess nanasess merged commit 066a84a into main Apr 21, 2026
2 checks passed
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