1
0
mirror of synced 2026-01-09 15:02:41 -05:00

Merge pull request #10258 from github/repo-sync

repo sync
This commit is contained in:
Octomerger Bot
2021-09-23 12:12:48 -04:00
committed by GitHub
3 changed files with 16 additions and 3 deletions

View File

@@ -12,7 +12,7 @@ export default [
'actions/upload-artifact@27121b0bdffd731efa15d66772be8dc71245d074', // v2.2.4
'alex-page/github-project-automation-plus@fdb7991b72040d611e1123d2b75ff10eda9372c9',
'andymckay/labeler@22d5392de2b725cea4b284df5824125054049d84',
'crowdin/github-action@fd9429dd63d6c0f8a8cb4b93ad8076990bd6e688',
'crowdin/github-action@d7f217268068f1244883a993379d62d816f84f25', // v1.4.0
'crykn/copy_folder_to_another_repo_action@0282e8b9fef06de92ddcae9fe6cb44df6226646c',
'cschleiden/actions-linter@caffd707beda4fc6083926a3dff48444bc7c24aa', // uses github-actions-parser v0.23.0
'dawidd6/action-delete-branch@47743101a121ad657031e6704086271ca81b1911', // v3.0.2

View File

@@ -17,9 +17,15 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f
with:
fetch-depth: 0
lfs: true
- name: Remove unwanted git hooks
run: rm .git/hooks/post-checkout
- name: Sync
uses: crowdin/github-action@fd9429dd63d6c0f8a8cb4b93ad8076990bd6e688
uses: crowdin/github-action@d7f217268068f1244883a993379d62d816f84f25
with:
upload_translations: false
download_translations: true

View File

@@ -241,10 +241,17 @@ export default async function deployToStaging({
}
if (appSetup && appSetup.status === 'failed') {
const manifestErrors = appSetup.manifest_errors || []
const hasManifestErrors = Array.isArray(manifestErrors) && manifestErrors.length > 0
const manifestErrorMessage = hasManifestErrors
? `\nManifest errors:\n - ${manifestErrors.join('\n - ')}`
: ''
throw new Error(
`Failed to setup app after ${Math.round(
(Date.now() - appSetupStartTime) / 1000
)} seconds. See Heroku logs for more information:\n${logUrl}`
)} seconds.
Reason: ${appSetup.failure_message}${manifestErrorMessage}
See Heroku logs for more information:\n${logUrl}`
)
}