Skip to content

Commit

Permalink
ci: Replace / with | in status to distinguish with BaseOS CI tests
Browse files Browse the repository at this point in the history
Signed-off-by: Sergei Petrosian <[email protected]>
  • Loading branch information
spetrosi committed Jul 24, 2024
1 parent 0cc9733 commit 52dadd8
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/tft.yml
Original file line number Diff line number Diff line change
Expand Up @@ -122,16 +122,17 @@ jobs:
with:
sha: ${{ needs.prepare_vars.outputs.head_sha }}
status: pending
context: ${{ matrix.platform }}/ansible-${{ matrix.ansible_version }}
context: ${{ matrix.platform }}|ansible-${{ matrix.ansible_version }}
description: Test started
targetUrl: ""

- name: Set commit status as success with a description that platform is skipped
if: "!contains(needs.prepare_vars.outputs.supported_platforms, matrix.platform)"
uses: myrotvorets/set-commit-status-action@master
with:
sha: ${{ needs.prepare_vars.outputs.head_sha }}
status: success
context: ${{ matrix.platform }}/ansible-${{ matrix.ansible_version }}
context: ${{ matrix.platform }}|ansible-${{ matrix.ansible_version }}
description: The role does not support this platform. Skipping.
targetUrl: ""

Expand Down Expand Up @@ -172,4 +173,4 @@ jobs:
sha: ${{ needs.prepare_vars.outputs.head_sha }}
status: ${{ job.status }}
targetUrl: ${{ env.ARTIFACTS_URL }}
context: ${{ matrix.platform }}/ansible-${{ matrix.ansible_version }}
context: ${{ matrix.platform }}|ansible-${{ matrix.ansible_version }}

0 comments on commit 52dadd8

Please sign in to comment.