From a77147b7d0d2133c3b622750aab93f8793d5f081 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?B=E1=B4=87=CA=80=C9=B4=E1=B4=85=20S=E1=B4=84=CA=9C?= =?UTF-8?q?=E1=B4=8F=CA=80=C9=A2=E1=B4=87=CA=80s?= Date: Sat, 24 Jul 2021 15:03:27 +0200 Subject: [PATCH] ci: Debug MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs --- .github/workflows/metadata-label-pr-ci-status.yaml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/metadata-label-pr-ci-status.yaml b/.github/workflows/metadata-label-pr-ci-status.yaml index 88002135..6321be42 100644 --- a/.github/workflows/metadata-label-pr-ci-status.yaml +++ b/.github/workflows/metadata-label-pr-ci-status.yaml @@ -80,8 +80,9 @@ jobs: token: ${{ steps.get-app-token.outputs.token }} sourceRunId: ${{ github.event.workflow_run.id }} - - name: "Lint successful" + - name: "Get workflow jobs" uses: actions/github-script@v4 + id: get-workflow-jobs with: github-token: ${{ steps.get-app-token.outputs.token }} script: | @@ -90,7 +91,10 @@ jobs: repo: context.repo.repo, run_id: context.payload.workflow_run.id, }); - console.log(wfJobs) + return wfJobs.jobs + + - name: Get result + run: echo "${{steps.get-workflow-jobs.outputs.result}}" # # CI Passed # - name: "add label: ok"