Skip to content

fix(auto-approve): use hmarr/auto-approve-action instead of a deleted local action - #38

Merged
panicboat merged 2 commits into
mainfrom
fix/auto-approve-self-pr
Aug 20, 2026
Merged

fix(auto-approve): use hmarr/auto-approve-action instead of a deleted local action#38
panicboat merged 2 commits into
mainfrom
fix/auto-approve-self-pr

Conversation

@panicboat

Copy link
Copy Markdown
Owner

Why

Auto-approve PRs が全 PR で失敗していた。

##[error]Can't find 'action.yml', 'action.yaml' or 'Dockerfile' under '.../panicboat-actions/auto-approve'.

.github/workflows/auto-approve.yaml がローカル action ./auto-approve を参照しているが、そのディレクトリは #2Remove old action directories and update README)で削除済みだった。ワークフロー側の更新漏れ。

削除前の auto-approve/action.yamlhmarr/auto-approve-action によるレビュー承認と、automerge ラベルが付いた PR の gh pr merge --squash --auto を行う composite action だった。現在 automerge ラベルを持つ PR は無い(gh pr list --state all --json labels で確認)ため、auto-merge 機能を落としても現行の挙動には影響しない。

What

platform / monorepo と同じ構成(hmarr/auto-approve-action を直接呼ぶ)に揃えた。auto-merge のステップは持ち込んでいない。

あわせて、同一 App (panicboat-ci-bot) が作成した PR を自己承認しようとして 422 で失敗する既知の問題(hmarr/auto-approve-action が installation token の identity を GET /user の 403 から "github-actions[bot]" と決め打ちする副作用、ソース)も先取りして回避した。renovate PR(現状の主な PR 発生源)は別 App のため影響しない。

if: endsWith(github.actor, '[bot]') && github.event.pull_request.user.login != 'panicboat-ci-bot[bot]'

同一原因の修正を panicboat/platform#810panicboat/monorepo#994 でも行っている。

🤖 Generated with Claude Code

https://claude.ai/code/session_01FJMY2CQPbJLzu5daCKMuM5

… local action

Signed-off-by: panicboat <panicboat@gmail.com>
@coderabbitai

coderabbitai Bot commented Aug 20, 2026

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

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

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 3d79235e-94ba-4eb4-8a36-981b03edf1d4


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.

Signed-off-by: panicboat <panicboat@gmail.com>
@panicboat
panicboat marked this pull request as ready for review August 20, 2026 15:17
@panicboat
panicboat merged commit 1a07e94 into main Aug 20, 2026
4 of 5 checks passed
@panicboat
panicboat deleted the fix/auto-approve-self-pr branch August 20, 2026 15:17
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