Skip to content

feat!: drop the config-path input and fail on pull request lookup errors - #49

Merged
panicboat merged 1 commit into
mainfrom
ci/drop-unused-inputs
Oct 31, 2026
Merged

panicboat merged 1 commit into
mainfrom
ci/drop-unused-inputs

Conversation

@panicboat

Copy link
Copy Markdown
Owner

What This PR Does

使われていない config-path の入力と backend の出力を消し、PR 情報の取得エラーを無視しないようにします。

What Needs to Change

  • PR 情報の取得で GitHub API がエラーになると、成功扱いのまま apply が抜ける。
    • Reason: continue-on-error によって PR がないときと同じ扱いになり、label-resolver の step がスキップされる。
  • config-path の入力を、どの呼び出し側も渡していない。
    • Reason: release 系の workflow は既定のパスしか読まないので、指定すると流れごとに読むファイルがずれる。
  • claude-code-action の backend の出力を、誰も読んでいない。
    • Reason: 使われない出力が残っている。

What Changes for Users

  • PR 情報の取得エラーで、workflow が失敗します。
    • Before: 成功扱いのまま、deploy も apply も走らない。
    • After: その step で失敗する。PR がないだけのときは、これまでどおり成功する。
  • label-base-deploy の reusable workflow は config-path を受け付けません。
    • Before: config-path を渡せる。
    • After: workflow-config.yaml だけを読む。

What to Review Closely

なし

What Was Decided

  • deploy-actions の action の config-path の入力は残す。
    • Reason: action は単体で使う部品で、ずれが起きるのは reusable workflow の組み合わせのときだけのため。
    • 間違っていた場合の影響: 使われない入力が 1 つ残る。

What Else Is Affected

Documents

  • 利用規約
  • プライバシーポリシー
  • ドキュメント

Systems & Operations

なし

How It Was Verified

  • for f in scripts/*/test.sh scripts/*/*.test.sh scripts/kubernetes-hydrate/tests/*.test.sh; do bash "$f"; done → すべて PASS
  • 新しいテストは、実装の前に落ちることを確かめました。
  • gh-find-current-pr のソースを読み、PR がないときは成功し、API エラーのときだけ失敗することを確かめました。

🤖 Generated with Claude Code

https://claude.ai/code/session_01N1XYRqYewzhQfyJcM9zFjG

No caller passes config-path, and the release workflows always read the default path, so setting it would split the flows onto different files. Ignoring lookup errors made a GitHub API failure skip the label resolver and report success with no apply on main. The backend output has no reader.

Claude-Session: https://claude.ai/code/session_01N1XYRqYewzhQfyJcM9zFjG
Signed-off-by: panicboat <panicboat@gmail.com>
@coderabbitai

coderabbitai Bot commented Oct 31, 2026 •

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: f44b1951-f1fd-4c9c-ada5-30d8a6ae6660
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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.

@panicboat
panicboat marked this pull request as ready for review October 31, 2026 01:38
@panicboat
panicboat merged commit 0fce505 into main Oct 31, 2026
7 checks passed
@panicboat
panicboat deleted the ci/drop-unused-inputs branch October 31, 2026 01:38
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