Skip to content

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

Open
jgoux wants to merge 1 commit into
developfrom
chore/api-sync-automerge-token
Open

chore(ci): use app token for API sync automerge#5603
jgoux wants to merge 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.

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