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