File tree Expand file tree Collapse file tree 4 files changed +12
-5
lines changed
Expand file tree Collapse file tree 4 files changed +12
-5
lines changed Original file line number Diff line number Diff line change @@ -332,7 +332,7 @@ jobs:
332332 template : repository
333333 repo : metrics
334334 plugin_licenses : yes
335- plugin_licenses_setup : npm ci
335+ plugin_licenses_setup : bash -c '[[ -f package.json ]] && npm ci || true'
336336 output_action : none
337337 delay : 120
338338 user : lowlighter
@@ -348,7 +348,7 @@ jobs:
348348 template : repository
349349 repo : metrics
350350 plugin_licenses : yes
351- plugin_licenses_setup : npm ci
351+ plugin_licenses_setup : bash -c '[[ -f package.json ]] && npm ci || true'
352352 plugin_licenses_legal : no
353353 plugin_licenses_ratio : yes
354354 output_action : none
Original file line number Diff line number Diff line change @@ -719,6 +719,9 @@ Leave empty to use default endpoint.</p>
719719 <td rowspan="2"><p>GitHub GraphQL API endpoint</p>
720720<p>Can be used to support <a href="https://github.com/enterprise">GitHub enterprises server</a>.
721721Leave empty to use default endpoint.</p>
722+ <blockquote>
723+ <p>ℹ️ GraphQL octokit will automatically append <code>/graphql</code> to provided endpoint</p>
724+ </blockquote>
722725<img width="900" height="1" alt=""></td>
723726 </tr>
724727 <tr>
Original file line number Diff line number Diff line change @@ -84,6 +84,10 @@ Dependencies will be analyzed by [GitHub licensed](https://github.com/github/lic
8484 <tr>
8585 <td nowrap="nowrap"><h4><code>plugin_licenses_setup</code></h4></td>
8686 <td rowspan="2"><p>Setup command</p>
87+ <blockquote>
88+ <p>ℹ️ Depending on the project, this may not be required.
89+ The example command is intended for NodeJs projects that use <code>npm</code> to install their dependencies.</p>
90+ </blockquote>
8791<img width="900" height="1" alt=""></td>
8892 </tr>
8993 <tr>
@@ -125,7 +129,7 @@ with:
125129 template : repository
126130 repo : metrics
127131 plugin_licenses : yes
128- plugin_licenses_setup : npm ci
132+ plugin_licenses_setup : bash -c '[[ -f package.json ]] && npm ci || true'
129133
130134```
131135``` yaml
@@ -138,7 +142,7 @@ with:
138142 template : repository
139143 repo : metrics
140144 plugin_licenses : yes
141- plugin_licenses_setup : npm ci
145+ plugin_licenses_setup : bash -c '[[ -f package.json ]] && npm ci || true'
142146 plugin_licenses_legal : no
143147 plugin_licenses_ratio : yes
144148
Original file line number Diff line number Diff line change 44 template : repository
55 repo : metrics
66 plugin_licenses : ' yes'
7- plugin_licenses_setup : npm ci
7+ plugin_licenses_setup : bash -c '[[ -f package.json ]] && npm ci || true'
88 use_mocked_data : ' yes'
99 verify : ' yes'
1010 timeout : 1800000
You can’t perform that action at this time.
0 commit comments