Repository navigation
ADFA-4918 fix(ci): pass GITHUB_TOKEN to release & Firebase builds - #279
Merged
Merged
Conversation
Both workflows run ./gradlew assembleRelease -> :app:syncNativeArtifacts, which
queries the GitHub API for the pinned binaries release. Unauthenticated it gets
HTTP 403 (shared-runner rate limit); the M15 fallback (build.gradle) retries with
GITHUB_TOKEN/GH_TOKEN from the env, but neither workflow passed a token, so the
retry had nothing and the build failed.
Add GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} to the build step env in
android-release-build.yml and firebase-distribution.yml (as android-sanity-check.yml
already does). Same repo, so the auto token's contents:read is enough.
This was referenced Jul 29, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Both the release and Firebase workflows run
assembleRelease->:app:syncNativeArtifacts, which queries the GitHub API for the pinned binaries release and 403s unauthenticated on shared CI runners. PassGITHUB_TOKENso the M15 fallback in build.gradle can retry authenticated (as android-sanity-check.yml already does). Same repo, so the auto token's contents:read is enough.