File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -466,6 +466,14 @@ jobs:
466466 )
467467 PY
468468 JAR="/tmp/crowdin-cli/${CROWDIN_CLI_VERSION}/crowdin-cli.jar"
469- java -jar "$JAR" config lint --config .github/crowdin.yml --identity /tmp/crowdin-identity.yml
470- java -jar "$JAR" config sources --config .github/crowdin.yml --identity /tmp/crowdin-identity.yml
471- java -jar "$JAR" config translations --config .github/crowdin.yml --identity /tmp/crowdin-identity.yml
469+ java -jar "$JAR" config lint --config .github/crowdin.yml --identity /tmp/crowdin-identity.yml
470+
471+ # These commands call Crowdin's remote API and can fail or hang for
472+ # reasons outside this repository (service issues, token scope, rate
473+ # limiting). Keep the structural lint above as the hard gate, and
474+ # surface remote validation problems as warnings instead of breaking CI.
475+ for check in sources translations; do
476+ if ! timeout 60 java -jar "$JAR" config "$check" --config .github/crowdin.yml --identity /tmp/crowdin-identity.yml; then
477+ echo "::warning::Crowdin remote '${check}' validation failed or timed out; skipping as non-blocking."
478+ fi
479+ done
You can’t perform that action at this time.
0 commit comments