From 7130b3a94e3720fc7d483b13e3348bcdbd92e62b Mon Sep 17 00:00:00 2001 From: lowlighter <22963968+lowlighter@users.noreply.github.com> Date: Tue, 18 Oct 2022 23:38:31 -0400 Subject: [PATCH] ci: auto-regenerate files --- .github/workflows/examples.yml | 4 ++-- source/plugins/core/README.md | 3 +++ source/plugins/licenses/README.md | 8 ++++++-- tests/cases/licenses.plugin.yml | 2 +- 4 files changed, 12 insertions(+), 5 deletions(-) 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 /graphql to provided endpoint

+
diff --git a/source/plugins/licenses/README.md b/source/plugins/licenses/README.md index d08bdd32..72314897 100644 --- a/source/plugins/licenses/README.md +++ b/source/plugins/licenses/README.md @@ -84,6 +84,10 @@ Dependencies will be analyzed by [GitHub licensed](https://github.com/github/lic

plugin_licenses_setup

Setup command

+
+

ℹ️ Depending on the project, this may not be required. +The example command is intended for NodeJs projects that use npm to install their dependencies.

+
@@ -125,7 +129,7 @@ with: template: repository repo: metrics plugin_licenses: yes - plugin_licenses_setup: npm ci + plugin_licenses_setup: bash -c '[[ -f package.json ]] && npm ci || true' ``` ```yaml @@ -138,7 +142,7 @@ with: 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 diff --git a/tests/cases/licenses.plugin.yml b/tests/cases/licenses.plugin.yml index 4eab3361..1247c92e 100644 --- a/tests/cases/licenses.plugin.yml +++ b/tests/cases/licenses.plugin.yml @@ -4,7 +4,7 @@ template: repository repo: metrics plugin_licenses: 'yes' - plugin_licenses_setup: npm ci + plugin_licenses_setup: bash -c '[[ -f package.json ]] && npm ci || true' use_mocked_data: 'yes' verify: 'yes' timeout: 1800000