Update action.yml

This commit is contained in:
jstan-isch 2023-01-28 13:36:45 -06:00 committed by GitHub
parent 41ac66e9b3
commit 5a9ff48cff
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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