mirror of
https://github.com/k8s-at-home/charts.git
synced 2025-01-23 23:49:12 +00:00
ci: Debug
Signed-off-by: Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs <me@bjw-s.dev>
This commit is contained in:
parent
1e9b109f36
commit
6566c4047c
@ -85,7 +85,6 @@ jobs:
|
|||||||
id: get-workflow-jobs
|
id: get-workflow-jobs
|
||||||
with:
|
with:
|
||||||
github-token: ${{ steps.get-app-token.outputs.token }}
|
github-token: ${{ steps.get-app-token.outputs.token }}
|
||||||
debug: true
|
|
||||||
script: |
|
script: |
|
||||||
let result = new Map()
|
let result = new Map()
|
||||||
|
|
||||||
@ -95,6 +94,8 @@ jobs:
|
|||||||
run_id: context.payload.workflow_run.id,
|
run_id: context.payload.workflow_run.id,
|
||||||
})
|
})
|
||||||
|
|
||||||
|
console.log(wfJobs.data.jobs)
|
||||||
|
|
||||||
for (const job of wfJobs.data.jobs) {
|
for (const job of wfJobs.data.jobs) {
|
||||||
if (job.name === 'Lint charts') {
|
if (job.name === 'Lint charts') {
|
||||||
result.set('lint', job.conclusion)
|
result.set('lint', job.conclusion)
|
||||||
@ -103,6 +104,7 @@ jobs:
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
console.log(result)
|
||||||
return result
|
return result
|
||||||
|
|
||||||
- name: Get result
|
- name: Get result
|
||||||
|
Loading…
Reference in New Issue
Block a user