diff --git a/.github/workflows/examples.yml b/.github/workflows/examples.yml index 8cca9704..81444044 100644 --- a/.github/workflows/examples.yml +++ b/.github/workflows/examples.yml @@ -332,7 +332,7 @@ jobs: template: repository repo: metrics plugin_licenses: yes - plugin_licenses_setup: npm ci + plugin_licenses_setup: bash -c '[[ -f package.json ]] && npm ci || true' output_action: none delay: 120 user: lowlighter @@ -348,7 +348,7 @@ jobs: template: repository repo: metrics plugin_licenses: yes - plugin_licenses_setup: npm ci + plugin_licenses_setup: bash -c '[[ -f package.json ]] && npm ci || true' plugin_licenses_legal: no plugin_licenses_ratio: yes output_action: none diff --git a/source/plugins/core/README.md b/source/plugins/core/README.md index 39953cd0..6056cc83 100644 --- a/source/plugins/core/README.md +++ b/source/plugins/core/README.md @@ -719,6 +719,9 @@ Leave empty to use default endpoint.
GitHub GraphQL API endpoint
Can be used to support GitHub enterprises server. Leave empty to use default endpoint.
++ℹ️ GraphQL octokit will automatically append
+/graphqlto provided endpoint
plugin_licenses_setupSetup command
++ℹ️ Depending on the project, this may not be required. +The example command is intended for NodeJs projects that use
+npmto install their dependencies.