Skip to content
This repository was archived by the owner on Jun 28, 2024. It is now read-only.

Commit 8091b61

Browse files
feat: send status to connect on workflow trigger
1 parent 2f82da6 commit 8091b61

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

.github/workflows/test.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,16 @@ jobs:
3030
CONTAINER_REGISTRY: "ghcr.io"
3131
RUN_URL: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}
3232
steps:
33+
- uses: Sibz/github-status-action@v1
34+
if: ${{ github.event.inputs.connectSha }}
35+
with:
36+
authToken: ${{ secrets.BOT_GH_TOKEN }}
37+
context: Test Python SDK
38+
state: pending
39+
sha: ${{ github.event.inputs.connectSha }}
40+
repository: seam-connect
41+
target_url: ${{ env.RUN_URL }}
42+
3343
- name: Checkout
3444
uses: actions/checkout@v2
3545
with:
@@ -80,3 +90,12 @@ jobs:
8090
GITHUB_TOKEN: ${{ secrets.BOT_GH_TOKEN }}
8191
message: |
8292
✅ [Python SDK tests passed](${{ env.RUN_URL }}).
93+
94+
- uses: Sibz/github-status-action@v1
95+
if: ${{ github.event.inputs.connectSha && always() }}
96+
with:
97+
authToken: ${{ secrets.BOT_GH_TOKEN }}
98+
context: Test Python SDK
99+
state: ${{ job.status }}
100+
sha: ${{ github.event.inputs.connectSha }}
101+
repository: seam-connect

0 commit comments

Comments
 (0)