Skip to content

fix: auto-approve Dependabot PRs without GitHub App token#12

Merged
eddietejeda merged 2 commits into
mainfrom
fix/dependabot-pr-review
Jun 2, 2026
Merged

fix: auto-approve Dependabot PRs without GitHub App token#12
eddietejeda merged 2 commits into
mainfrom
fix/dependabot-pr-review

Conversation

@eddietejeda
Copy link
Copy Markdown
Contributor

Dependabot-triggered workflows run with Secret source: Dependabot, which is a separate secrets store from Secret source: Actions. The HOTDATA_AUTOMATION_PRIVATE_KEY secret only exists in the Actions store, so the create-github-app-token step always fails on Dependabot PRs.

Fix: when github.actor == 'dependabot[bot]', skip the App token steps and instead use GITHUB_TOKEN to post an auto-approval directly. Dependabot PRs are always automated dependency bumps — they don't need the full Claude review.

All other PRs are unaffected.

@eddietejeda eddietejeda merged commit fe15c43 into main Jun 2, 2026
1 check passed
@eddietejeda eddietejeda deleted the fix/dependabot-pr-review branch June 2, 2026 01:31
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