message: chore: updating workflow
diff: @@ -80,9 +80,8 @@ jobs:
  - name: echo tugboat preview url
  run: |
  curl ${{steps.get-status-env.outputs.result}}
  - # Update the commit status with a fail or success.
  - name: set status
  - if: ${{ success() }}
  + if: ${{ failure() }}
  uses: actions/github-script@v3
  with:
  github-token: ${{secrets.GH_SERVICE_ACCOUNT_TOKEN}}
  @@ -91,12 +90,12 @@ jobs:
  owner: context.repo.owner,
  repo: context.repo.repo,
  sha: context.sha,
  - state: "success",
  + state: "error",
  context: 'Backstage Tugboat E2E Tests',
  target_url: "https://github.com/${{github.repository}}/actions/runs/${{github.run_id}}"
  });
  - name: set status
  - if: ${{ failure() }} || ${{ cancelled() }}
  + if: ${{ success() }}
  uses: actions/github-script@v3
  with:
  github-token: ${{secrets.GH_SERVICE_ACCOUNT_TOKEN}}
  @@ -105,7 +104,7 @@ jobs:
  owner: context.repo.owner,
  repo: context.repo.repo,
  sha: context.sha,
  - state: "error",
  + state: "success",
  context: 'Backstage Tugboat E2E Tests',
  target_url: "https://github.com/${{github.repository}}/actions/runs/${{github.run_id}}"
  });
  