Update dist-2.yml

This commit is contained in:
jstan-isch 2023-01-28 11:45:47 -06:00 committed by GitHub
parent 6b7f6f859c
commit fbae18e9fc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -24,13 +24,18 @@ jobs:
- run: echo "client payload sha ${{ github.event.client_payload.sha }}" - run: echo "client payload sha ${{ github.event.client_payload.sha }}"
- name: check-run-flow - name: check-run-flow
run: | uses: ./.github/workflows/curl.yml
curl \ with:
-X POST \ secret: ${{ secrets.GITHUB_TOKEN }}
-H "Accept: application/vnd.github+json" \ sha: ${{ github.event.client_payload.sha }}
-H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" \
https://api.github.com/repos/jstan-isch/spring-petclinic/check-runs \ # run: |
-d '{"name":"myEvent","head_sha":"${{ github.event.client_payload.sha }}","status":"completed", "conclusion":"success", "details_url":"${{ github.event.repository.html_url }}"}' # 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}"}' #-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}"}'