mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-29 18:55:49 +00:00
Update dist-2.yml
This commit is contained in:
parent
6b7f6f859c
commit
fbae18e9fc
1 changed files with 12 additions and 7 deletions
19
.github/workflows/dist-2.yml
vendored
19
.github/workflows/dist-2.yml
vendored
|
@ -24,13 +24,18 @@ jobs:
|
|||
- run: echo "client payload sha ${{ github.event.client_payload.sha }}"
|
||||
|
||||
- name: check-run-flow
|
||||
run: |
|
||||
curl \
|
||||
-X POST \
|
||||
-H "Accept: application/vnd.github+json" \
|
||||
-H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" \
|
||||
https://api.github.com/repos/jstan-isch/spring-petclinic/check-runs \
|
||||
-d '{"name":"myEvent","head_sha":"${{ github.event.client_payload.sha }}","status":"completed", "conclusion":"success", "details_url":"${{ github.event.repository.html_url }}"}'
|
||||
uses: ./.github/workflows/curl.yml
|
||||
with:
|
||||
secret: ${{ secrets.GITHUB_TOKEN }}
|
||||
sha: ${{ github.event.client_payload.sha }}
|
||||
|
||||
# run: |
|
||||
# curl \
|
||||
# -X POST \
|
||||
# -H "Accept: application/vnd.github+json" \
|
||||
# -H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" \
|
||||
# https://api.github.com/repos/jstan-isch/spring-petclinic/check-runs \
|
||||
# -d '{"name":"myEvent","head_sha":"${{ github.event.client_payload.sha }}","status":"completed", "conclusion":"success", "details_url":"${{ github.event.repository.html_url }}"}'
|
||||
|
||||
#-d '{"name":"myEvent","head_sha":"${{ github.event.client_payload.sha }}","status":"completed", "conclusion":"success", "details_url":"https://github.com/jstan-isch/spring-petclinic/runs/{id}"}'
|
||||
|
||||
|
|
Loading…
Reference in a new issue