ci: add GitHub Action to trigger Bitrise crowdin_validator on PRs - #3
Closed
anthonyraj wants to merge 3 commits into
Closed
ci: add GitHub Action to trigger Bitrise crowdin_validator on PRs#3anthonyraj wants to merge 3 commits into
anthonyraj wants to merge 3 commits into
Conversation
added 3 commits
July 27, 2026 17:42
Bitrise's own GitHub webhook auto-registration is blocked for this app (needs a GitHub re-auth on the Bitrise account side), so bridge PR events to the Bitrise crowdin_validator workflow from GitHub Actions instead: trigger the build via the Bitrise API, wait for it, and fail this check if it fails.
Bitrise tries to resolve pull_request_repository_url/pull_request_id against GitHub, which hits the same broken GitHub identity and makes the trigger call itself fail (HTTP 400: "GitHub identity is not available for user"). Trigger a plain branch build instead -- the validator script only does git fetch + diff, it never needs a PR merge ref. Also switches back to the BITRISE_API_TOKEN secret name.
anthonyraj
marked this pull request as draft
July 28, 2026 03:32
Collaborator
Author
|
Closing: Bitrise's native GitHub webhook is now working (reauthorized on Bitrise's side), so it triggers |
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.
Summary
loop-localizationapp (register_webhook→provider_reauth_required: "GitHub identity is not available for user"). No webhook exists on this repo yet, so pushes/PRs don't auto-trigger Bitrise builds..github/workflows/crowdin-validator.yml) that triggers the Bitrisecrowdin_validatorworkflow via the Bitrise API on every PR targetingmain, waits for the result, and fails this check if the Bitrise build fails.Required follow-up (one-time, self-service)
This PR's check will fail until the
BITRISE_API_TOKENrepo secret is added:loop-localizationapp (Developer role or higher).gh secret set BITRISE_API_TOKEN --repo youversion/loop-localizationOnce that's added, re-run this PR's check to confirm the bridge works end-to-end.
Test plan
BITRISE_API_TOKENrepo secretmainrequiring this check before merging