Skip to content

Commit a18698b

Browse files
authored
Merge pull request #1110 from ioBroker/claude/check-and-lint-job-matching-502d6b
Detect matrix-controlled check-and-lint workflow jobs
2 parents 58743e4 + b2a2958 commit a18698b

2 files changed

Lines changed: 10 additions & 2 deletions

File tree

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,10 @@ Example:
3131
Placeholder for the next version (at the beginning of the line):
3232
### **WORK IN PROGRESS**
3333
-->
34+
### **WORK IN PROGRESS**
35+
36+
* (mcm1957) The "check-and-lint" workflow job is now also detected when controlled by a matrix (job names starting with "check-and-lint (").
37+
3438
### 5.20.9 (2026-08-10)
3539

3640
* (mcm1957) Added new state roles for air quality and environmental sensors (`value.co`, `value.no`, `value.no2`, `value.o3`, `value.ch2o`, `value.pm1`, `value.pm25`, `value.pm10`, `value.rn`, `value.tvoc`, `value.airquality`, `value.humidity.relative`, `value.humidity.absolute`) and defined type/read/write constraints for `value.temperature.dewpoint`.

lib/M3000_Testing.js

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,9 @@ async function checkTagTriggeredRun(context, workflowRuns, version, taggedVersio
218218
const runJobs = await fetchRunJobs(context, tagRun.id);
219219

220220
// W3050 / S3051: check-and-lint job log
221-
const checkAndLintJob = runJobs.find(job => job.name === 'check-and-lint');
221+
const checkAndLintJob = runJobs.find(
222+
job => job.name === 'check-and-lint' || job.name.startsWith('check-and-lint ('),
223+
);
222224
if (!checkAndLintJob) {
223225
context.warnings.push(
224226
`[W3050] "${WORKFLOW_FILE_SHORT}": no "check-and-lint" job found in ${formatRunLink(tagRun)} for ${sourceLabel}. ` +
@@ -1022,7 +1024,9 @@ async function checkTests(context) {
10221024
const runJobs = await fetchRunJobs(context, lastRun.id);
10231025

10241026
// W3050 / S3051: check-and-lint job log
1025-
const checkAndLintJob = runJobs.find(job => job.name === 'check-and-lint');
1027+
const checkAndLintJob = runJobs.find(
1028+
job => job.name === 'check-and-lint' || job.name.startsWith('check-and-lint ('),
1029+
);
10261030
if (!checkAndLintJob) {
10271031
context.warnings.push(
10281032
`[W3050] "${WORKFLOW_FILE_SHORT}": no "check-and-lint" job found in ${formatRunLink(lastRun)} on branch "${defaultBranch}". ` +

0 commit comments

Comments
 (0)