mirror of
https://github.com/k8s-at-home/charts.git
synced 2025-01-23 23:49:12 +00:00
ci: Fix Label workflow
Signed-off-by: Bᴇʀɴᴅ Sᴄʜᴏʀɢᴇʀs <me@bjw-s.dev>
This commit is contained in:
parent
b9b96e5892
commit
5d1e7d6ddc
@ -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 }}
|
||||
|
Loading…
Reference in New Issue
Block a user