From 5d1e7d6ddc0a807acabdf67ac3fd7c1a1739fdc5 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: Sun, 25 Jul 2021 17:44:20 +0200 Subject: [PATCH] ci: Fix Label workflow 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 | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/metadata-label-pr-ci-status.yaml b/.github/workflows/metadata-label-pr-ci-status.yaml index 76e31caf..8ef6bf42 100644 --- a/.github/workflows/metadata-label-pr-ci-status.yaml +++ b/.github/workflows/metadata-label-pr-ci-status.yaml @@ -30,7 +30,7 @@ jobs: - name: Label precommit success uses: andymckay/labeler@1.0.3 - if: ${{ github.event.workflow_run.conclusion }} == 'success' + if: ${{ github.event.workflow_run.conclusion == 'success' }} with: repo-token: ${{ steps.get-app-token.outputs.token }} issue-number: ${{ steps.source-run-info.outputs.pullRequestNumber }} @@ -39,7 +39,7 @@ jobs: - name: Label precommit failure uses: andymckay/labeler@1.0.3 - if: ${{ github.event.workflow_run.conclusion }} == 'failure' + if: ${{ github.event.workflow_run.conclusion == 'failure' }} with: repo-token: ${{ steps.get-app-token.outputs.token }} issue-number: ${{ steps.source-run-info.outputs.pullRequestNumber }} @@ -91,7 +91,7 @@ jobs: - name: Label lint success uses: andymckay/labeler@1.0.3 - if: ${{ fromJSON(steps.get-workflow-jobs.outputs.result).lint}} == 'success' + if: ${{ fromJSON(steps.get-workflow-jobs.outputs.result).lint == 'success' }} with: repo-token: ${{ steps.get-app-token.outputs.token }} issue-number: ${{ steps.source-run-info.outputs.pullRequestNumber }} @@ -100,7 +100,7 @@ jobs: - name: Label lint failure uses: andymckay/labeler@1.0.3 - if: ${{ fromJSON(steps.get-workflow-jobs.outputs.result).lint}} == 'failure' + if: ${{ fromJSON(steps.get-workflow-jobs.outputs.result).lint == 'failure' }} with: repo-token: ${{ steps.get-app-token.outputs.token }} issue-number: ${{ steps.source-run-info.outputs.pullRequestNumber }} @@ -109,7 +109,7 @@ jobs: - name: Label install success uses: andymckay/labeler@1.0.3 - if: ${{ fromJSON(steps.get-workflow-jobs.outputs.result).install}} == 'success' + if: ${{ fromJSON(steps.get-workflow-jobs.outputs.result).install == 'success' }} with: repo-token: ${{ steps.get-app-token.outputs.token }} issue-number: ${{ steps.source-run-info.outputs.pullRequestNumber }} @@ -118,7 +118,7 @@ jobs: - name: Label install failure uses: andymckay/labeler@1.0.3 - if: ${{ fromJSON(steps.get-workflow-jobs.outputs.result).install}} == 'failure' + if: ${{ fromJSON(steps.get-workflow-jobs.outputs.result).install == 'failure' }} with: repo-token: ${{ steps.get-app-token.outputs.token }} issue-number: ${{ steps.source-run-info.outputs.pullRequestNumber }}