Update action.yml

This commit is contained in:
jstan-isch 2023-01-28 14:02:33 -06:00 committed by GitHub
parent be65d9d46d
commit 45148f549b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -5,9 +5,9 @@ on:
inputs:
sha:
required: true
secrets:
envPAT:
required: true
# secrets:
# envPAT:
# required: true
jobs:
curl:
@ -17,6 +17,6 @@ jobs:
curl \
-X POST \
-H "Accept: application/vnd.github+json" \
-H 'Authorization: Bearer ${{ secrets.envPAT }}' \
-H 'Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}' \
https://api.github.com/repos/jstan-isch/spring-petclinic/check-runs \
-d '{"name":"myEvent","head_sha":"${{ inputs.sha }}","status":"completed", "conclusion":"success"}'