Skip to content

Fix Dependabot auto-merge workflow#60

Merged
cosmocoder merged 1 commit intomainfrom
fix-dependabot-automerge
Mar 31, 2026
Merged

Fix Dependabot auto-merge workflow#60
cosmocoder merged 1 commit intomainfrom
fix-dependabot-automerge

Conversation

@cosmocoder
Copy link
Copy Markdown
Owner

Dependabot-triggered pull_request events don't have access to repository secrets, causing the create-github-app-token step to fail with appId option is required.

We switch to pull_request_target so the workflow runs in the base branch context where secrets are available. This is safe because the workflow only approves/merges via GitHub API and never checks out PR code.

@cosmocoder cosmocoder merged commit 73415bb into main Mar 31, 2026
13 checks passed
@cosmocoder cosmocoder deleted the fix-dependabot-automerge branch March 31, 2026 16:44
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