Skip to content

chore(ci): use app token for API sync automerge#5603

Merged
jgoux merged 1 commit into
developfrom
chore/api-sync-automerge-token
Jun 22, 2026
Merged

chore(ci): use app token for API sync automerge#5603
jgoux merged 1 commit into
developfrom
chore/api-sync-automerge-token

Conversation

@jgoux

@jgoux jgoux commented Jun 17, 2026

Copy link
Copy Markdown
Contributor

Updates the API Sync workflow so the auto-merge step uses the generated GitHub App token instead of the workflow-scoped token.

The workflow already grants the app token pull request and contents write permissions for creating the sync PR. Reusing that token for gh pr merge --auto matches the existing automated merge pattern and avoids the authorization failure caused by the workflow-level contents: read permission on the built-in token.

@jgoux jgoux marked this pull request as ready for review June 17, 2026 16:58
@github-actions

Copy link
Copy Markdown

Supabase CLI preview

npx --yes https://pkg.pr.new/supabase/cli/supabase@113c26eac9ebb22f8029901938a026f95029e346

Preview package for commit 113c26e.

@jgoux jgoux added this pull request to the merge queue Jun 22, 2026
Merged via the queue into develop with commit fbbc609 Jun 22, 2026
27 checks passed
@jgoux jgoux deleted the chore/api-sync-automerge-token branch June 22, 2026 08:53
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.

2 participants