Skip to content

ci(dependabot): approve/merge via DEPENDABOT_AUTOMERGE_TOKEN#14

Merged
jfreed-dev merged 1 commit into
mainfrom
fix/automerge-token
May 25, 2026
Merged

ci(dependabot): approve/merge via DEPENDABOT_AUTOMERGE_TOKEN#14
jfreed-dev merged 1 commit into
mainfrom
fix/automerge-token

Conversation

@jfreed-dev

Copy link
Copy Markdown
Member

Why

GitHub Actions cannot approve PRs (addPullRequestReview is blocked), so the self-approve step in this workflow fails every run and Dependabot PRs cannot auto-merge.

Change

Route the approve + merge gh calls through secrets.DEPENDABOT_AUTOMERGE_TOKEN — a fine-grained PAT owned by jfreed-dev (the CODEOWNER), so the approval satisfies branch protection. Other token usages are unchanged.

Part of the org-wide fix (modules: #61). Requires org secret DEPENDABOT_AUTOMERGE_TOKEN (Pull requests: RW, Contents: RW).

@jfreed-dev jfreed-dev merged commit fcabd41 into main May 25, 2026
6 checks passed
@jfreed-dev jfreed-dev deleted the fix/automerge-token branch May 25, 2026 17: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