diff --git a/.github/workflows/regenerate-tools.yml b/.github/workflows/regenerate-tools.yml index 98f06544a87b..5f2eabc0be9e 100644 --- a/.github/workflows/regenerate-tools.yml +++ b/.github/workflows/regenerate-tools.yml @@ -7,7 +7,7 @@ on: - cron: "15 0 * * 1" jobs: - meetings: + regenerateTools: if: github.repository == 'asyncapi/website' env: GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} diff --git a/scripts/tools/tools-object.js b/scripts/tools/tools-object.js index 95c6939ceefa..55c378f83b56 100644 --- a/scripts/tools/tools-object.js +++ b/scripts/tools/tools-object.js @@ -65,8 +65,10 @@ async function convertTools(data) { } }); } else { - console.log("Repository: " + tool.repository.html_url) - console.log("Error: " + validate.errors) + console.error('Invalid .asyncapi-tool file.'); + console.error(`Located in: ${tool.html_url}`); + console.error('Validation errors:', JSON.stringify(validate.errors, null, 2)); + console.error('Not failing, dropping errors for further investigation'); } } }