@iobroker/repochecker 5.5.0 → 5.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/lib/M3000_Testing.js +5 -6
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -25,7 +25,7 @@ Example:
|
|
|
25
25
|
Placeholder for the next version (at the beginning of the line):
|
|
26
26
|
### **WORK IN PROGRESS**
|
|
27
27
|
-->
|
|
28
|
-
### 5.5.
|
|
28
|
+
### 5.5.1 (2026-03-17)
|
|
29
29
|
- (@copilot) Added W5039 check: warns when `admin/words.js` exists but is not referenced anywhere in the codebase for adapters using jsonConfig. The file seems to be outdated and should be removed [#745].
|
|
30
30
|
- (@copilot) Added W3018 and W3019 checks: when deploy job uses `ioBroker/testing-action-deploy@v1`, warns if job-level permissions (`contents: write`, `id-token: write`) are missing (W3018) or if the `npm-token` parameter is specified (W3019), as trusted publishing will not work in either case. Related to [#742].
|
|
31
31
|
- (@copilot) Added W1113 check: warns when `native` config object contains properties but `common.adminUI.config` is set to `"none"`, as the native config will not be used without an admin UI config.
|
package/lib/M3000_Testing.js
CHANGED
|
@@ -207,8 +207,8 @@ async function checkTests(context) {
|
|
|
207
207
|
const concurrency = workflow.concurrency;
|
|
208
208
|
if (!concurrency || concurrency.group !== '${{ github.ref }}' || concurrency['cancel-in-progress'] !== true) {
|
|
209
209
|
context.warnings.push(
|
|
210
|
-
`[W3009] Workflow "${WORKFLOW_FILE}" is missing
|
|
211
|
-
`
|
|
210
|
+
`[W3009] Workflow "${WORKFLOW_FILE}" is missing recommended concurrency configuration. See ` +
|
|
211
|
+
`"https://github.com/ioBroker/ioBroker.example/blob/e7db900495bb3c2b89dc35d863dda4ccf33f5def/JavaScript/.github/workflows/test-and-release.yml#L17" for details.`,
|
|
212
212
|
);
|
|
213
213
|
} else {
|
|
214
214
|
context.checks.push('Workflow concurrency configuration is correct.');
|
|
@@ -302,9 +302,8 @@ async function checkTests(context) {
|
|
|
302
302
|
const hasIdTokenWrite = permissions && permissions['id-token'] === 'write';
|
|
303
303
|
if (!hasContentsWrite || !hasIdTokenWrite) {
|
|
304
304
|
context.warnings.push(
|
|
305
|
-
`[W3018] Workflow "${WORKFLOW_FILE}": job "deploy" is missing required permissions
|
|
306
|
-
`
|
|
307
|
-
`Trusted publishing will not work without these permissions.`,
|
|
305
|
+
`[W3018] Workflow "${WORKFLOW_FILE}": job "deploy" is missing required permissions "contents: write" and "id-token: write" at job level. ` +
|
|
306
|
+
`Trusted publishing will not work without them.`,
|
|
308
307
|
);
|
|
309
308
|
} else {
|
|
310
309
|
context.checks.push(
|
|
@@ -323,7 +322,7 @@ async function checkTests(context) {
|
|
|
323
322
|
) {
|
|
324
323
|
context.warnings.push(
|
|
325
324
|
`[W3019] Workflow "${WORKFLOW_FILE}": job "deploy" step using "ioBroker/testing-action-deploy@v1" ` +
|
|
326
|
-
`has "npm-token" parameter specified.
|
|
325
|
+
`has "npm-token" parameter specified. ` +
|
|
327
326
|
`Trusted publishing will not work while "npm-token" is set.`,
|
|
328
327
|
);
|
|
329
328
|
} else {
|
package/package.json
CHANGED