mirror of
https://github.com/k8s-at-home/charts.git
synced 2025-01-24 07:59:02 +00:00
ci: Debug
Signed-off-by: Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs <me@bjw-s.dev>
This commit is contained in:
parent
4709b114bd
commit
5ea3df64a9
@ -86,7 +86,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
github-token: ${{ steps.get-app-token.outputs.token }}
|
github-token: ${{ steps.get-app-token.outputs.token }}
|
||||||
script: |
|
script: |
|
||||||
var result: Record<string,string> = {}
|
let result = new Object
|
||||||
|
|
||||||
const wfJobs = await github.actions.listJobsForWorkflowRun({
|
const wfJobs = await github.actions.listJobsForWorkflowRun({
|
||||||
owner: context.repo.owner,
|
owner: context.repo.owner,
|
||||||
@ -96,9 +96,9 @@ 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.lint = job.conclusion
|
result['lint'] = job.conclusion
|
||||||
} else if (job.name === 'Install successful') {
|
} else if (job.name === 'Install successful') {
|
||||||
result.install = job.conclusion
|
result['install'] = job.conclusion
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user