Skip to content

Commit

Permalink
ci: refactor - extract check name
Browse files Browse the repository at this point in the history
  • Loading branch information
dominykas committed Jan 27, 2021
1 parent 4046b13 commit d1a2298
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/wiby.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on:
types: [ created ]

env:
WIBY_CHECK_NAME: "wiby"
WIBY_NODE_VERSION: 14

jobs:
Expand Down Expand Up @@ -52,7 +53,7 @@ jobs:
mediaType: |
previews:
- antiope
name: "wiby"
name: ${{ env.WIBY_CHECK_NAME }}
details_url: "${{ steps.pr.outputs.repo_url }}/actions/runs/${{ github.run_id }}"
head_sha: ${{ steps.pr.outputs.head_sha }}
status: "queued"
Expand Down Expand Up @@ -92,7 +93,7 @@ jobs:
mediaType: |
previews:
- antiope
name: "wiby"
name: ${{ env.WIBY_CHECK_NAME }}
details_url: "${{ steps.pr.outputs.repo_url }}/actions/runs/${{ github.run_id }}"
head_sha: ${{ steps.pr.outputs.head_sha }}
conclusion: "failure"
Expand All @@ -107,7 +108,7 @@ jobs:
mediaType: |
previews:
- antiope
name: "wiby"
name: ${{ env.WIBY_CHECK_NAME }}
details_url: "${{ steps.pr.outputs.repo_url }}/actions/runs/${{ github.run_id }}"
head_sha: ${{ steps.pr.outputs.head_sha }}
status: "in_progress"
Expand Down Expand Up @@ -192,7 +193,7 @@ jobs:
mediaType: |
previews:
- antiope
name: "wiby"
name: ${{ env.WIBY_CHECK_NAME }}
details_url: "${{ steps.pr.outputs.repo_url }}/actions/runs/${{ github.run_id }}"
head_sha: ${{ steps.pr.outputs.head_sha }}
conclusion: "failure"
Expand All @@ -208,7 +209,7 @@ jobs:
mediaType: |
previews:
- antiope
name: "wiby"
name: ${{ env.WIBY_CHECK_NAME }}
details_url: "${{ steps.pr.outputs.repo_url }}/actions/runs/${{ github.run_id }}"
head_sha: ${{ steps.pr.outputs.head_sha }}
conclusion: ${{ steps.wiby_result.outputs.wiby_conclusion }}
Expand Down

0 comments on commit d1a2298

Please sign in to comment.