2
.github/allowed-actions.js
vendored
2
.github/allowed-actions.js
vendored
@@ -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
|
||||
|
||||
8
.github/workflows/crowdin.yml
vendored
8
.github/workflows/crowdin.yml
vendored
@@ -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
|
||||
|
||||
@@ -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}`
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user