ci: Fix Label workflow

Signed-off-by: Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs <me@bjw-s.dev>
This commit is contained in:
Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs 2021-07-25 17:44:20 +02:00
parent b9b96e5892
commit 5d1e7d6ddc
No known key found for this signature in database
GPG Key ID: 228A77789D71A6E2

View File

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