diff --git a/.github/workflows/dist-2.yml b/.github/workflows/dist-2.yml index 94fb7b705..694625b5e 100644 --- a/.github/workflows/dist-2.yml +++ b/.github/workflows/dist-2.yml @@ -22,3 +22,14 @@ jobs: #- run: echo ${{ github.event.client_payload.test }} #- run: echo ${{ github.event.client_payload.sha }} #- run: echo ${{ github.event.client_payload.test }} + - run: | + curl --request POST \ + --url https://api.github.com/repos/${{ github.repository }}/statuses/${{ github.sha }} \ + --header 'authorization: Bearer ${{ secrets.GITHUB_TOKEN }}' \ + --header 'content-type: application/json' \ + --data '{ + "context": "Staging Tests", + "state": "success", + "description": "Staging tests passed", + "target_url": "https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}" + }'