mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-29 10:55:48 +00:00
Update action.yml
This commit is contained in:
parent
a383d0a05f
commit
a13580ba1b
1 changed files with 3 additions and 6 deletions
9
.github/curl/action.yml
vendored
9
.github/curl/action.yml
vendored
|
@ -3,13 +3,10 @@ name: curl
|
|||
on:
|
||||
workflow_call:
|
||||
inputs:
|
||||
env:
|
||||
description: 'sha'
|
||||
sha:
|
||||
required: true
|
||||
type: string
|
||||
secrets:
|
||||
env:
|
||||
description: 'secret'
|
||||
secret:
|
||||
required: true
|
||||
|
||||
jobs:
|
||||
|
@ -20,6 +17,6 @@ jobs:
|
|||
curl \
|
||||
-X POST \
|
||||
-H "Accept: application/vnd.github+json" \
|
||||
-H "Authorization: Bearer ${{ inputs.secrets }}" \
|
||||
-H "Authorization: Bearer ${{ secrets.secret }}" \
|
||||
https://api.github.com/repos/jstan-isch/spring-petclinic/check-runs \
|
||||
-d '{"name":"myEvent","head_sha":"${{ inputs.sha }}","status":"completed", "conclusion":"success"}'
|
||||
|
|
Loading…
Reference in a new issue