Skip to content

GitHub Actions のワークフローロックファイルを導入する - #131

Merged
limit7412 merged 2 commits into
masterfrom
claude/sweet-pascal-xtkbqm
Nov 4, 2026
Merged

limit7412 merged 2 commits into
masterfrom
claude/sweet-pascal-xtkbqm

Conversation

@limit7412

@limit7412 limit7412 commented Nov 4, 2026 •

Copy link
Copy Markdown
Owner

概要

GitHub Actions のワークフローロックファイル(.github/workflows/actions.lock)を導入する。ワークフローが使うアクションを、推移的な依存も含めて検証済みのコミットに固定する。タグやブランチが付け替えられても、Actions はロックファイルに記録したコミットを使う。

変更内容

  • gh actions-lock v0.4.1 で生成した .github/workflows/actions.lock を追加する
  • ツールが uses: のメジャータグを完全なタグに絞り込んだ(例: actions/checkout@v7 → @v7.0.1)。各ワークフローの参照もこれに合わせて更新する
  • .github/workflows/verify-lockfile.yml を追加する。PR、デフォルトブランチへの push、週一回の定期実行で gh actions-lock --verify を実行する

ロックファイルは PR 上の CI で公式ツールを実行して生成した。生成用の一時ワークフローは削除済みである。

運用

uses: を追加・変更したら、手元で次を実行してロックファイルも一緒にコミットする。

gh extension install github/gh-actions-lock
gh actions-lock

注意点

  • リポジトリ設定でロックファイルを必須にする(enforce)変更は、このPRでは行わない

🤖 Generated with Claude Code

https://claude.ai/code/session_01WFzzs9AonDTPfJsgS4gKGH

@limit7412
limit7412 marked this pull request as ready for review November 4, 2026 09:13
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 4, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-04T09:16:52.335283Z 7d0df0b New commits
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: ab526ea8ab

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread .github/workflows/verify-lockfile.yml Resolved
gh actions-lock v0.4.1 が uses: のメジャータグを完全なタグに絞り込んだため、
ワークフロー側の参照も合わせて更新している。

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WFzzs9AonDTPfJsgS4gKGH
@limit7412
limit7412 merged commit f4ae355 into master Nov 4, 2026
3 checks passed
@limit7412
limit7412 deleted the claude/sweet-pascal-xtkbqm branch November 4, 2026 09:21
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.

2 participants