Skip to content

fix(ci): update-flake-lock PR で CI がトリガーされるよう GitHub App トークンを使用#233

Merged
rito528 merged 1 commit intomainfrom
fix/update-flake-lock-use-app-token
Mar 24, 2026
Merged

fix(ci): update-flake-lock PR で CI がトリガーされるよう GitHub App トークンを使用#233
rito528 merged 1 commit intomainfrom
fix/update-flake-lock-use-app-token

Conversation

@rito528
Copy link
Owner

@rito528 rito528 commented Mar 24, 2026

概要

  • update-flake-lock.yamlGITHUB_TOKEN で PR を作成していたため、GitHub の制限により後続 CI(lint・nix・integration-test)がトリガーされていなかった
  • nix-update-pr.yaml と同様に actions/create-github-app-token で GitHub App トークンを生成し、update-flake-lock アクションに渡すよう変更
  • GITHUB_TOKEN 向けの permissions: contents: write / pull-requests: write は不要になったため削除

テスト計画

  • workflow_dispatch で手動実行し、PR が作成されることを確認
  • 作成された PR に lint / nix / integration-test の CI チェックが表示されることを確認

🤖 Generated with Claude Code

GITHUB_TOKEN で作成した PR は GitHub の制限により後続 CI がトリガーされない。
nix-update-pr.yaml と同様に GitHub App トークンを使って PR を作成することで、
lint・integration-test・nix 等の CI チェックが正常に動作するようにする。

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@rito528 rito528 merged commit 841865a into main Mar 24, 2026
1 check passed
@rito528 rito528 deleted the fix/update-flake-lock-use-app-token branch March 24, 2026 10:26
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