ci: Debug

Signed-off-by: Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs <me@bjw-s.dev>
This commit is contained in:
Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs 2021-07-24 15:49:54 +02:00
parent 1e9b109f36
commit 6566c4047c
No known key found for this signature in database
GPG Key ID: 228A77789D71A6E2

View File

@ -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