Skip to content

Commit

Permalink
Merge pull request #6 from solar-org/test
Browse files Browse the repository at this point in the history
Test
  • Loading branch information
sidd-harth authored Nov 1, 2023
2 parents 3dc0c68 + 2172d41 commit 86ce681
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 14 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/ccc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,6 @@ jobs:

- name: Run when check run is completed
if: github.event.action == 'completed'
run: echo "A check run was completed."
run: echo "A check run was completed."


21 changes: 8 additions & 13 deletions .github/workflows/dispatch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
# Actually, we'll just sleep to simulate some work
####################################################
- name: Processing
run: sleep 120
run: sleep 10

#####################################################
# Send a final message to complete the run and
Expand All @@ -43,15 +43,10 @@ jobs:
run: |
gh api -X PATCH -H "Accept: application/vnd.github+json" \
-H "X-GitHub-Api-Version: 2022-11-28" \
/repos/${{ github.repository }}/check-runs/${{ github.event.client_payload.checkRunId }} \
--input - <<- EOF
{
"conclusion": "success",
"details_url": "https://details.kenmuse.com",
"output": {
"title": "My Check Run Title 🚀",
"summary": "**Summary**: The run completed.",
"text": "Everything worked as expected. You should see a logo above."
}
}
EOF
-f 'status=success' \
-f 'details_url=status=success' \
-f 'output[title]=My Check Run Title 🚀' \
-f 'output[summary]=**Summary**: The run completed.' \
-f 'output[text]=Everything worked as expected. You should see a logo above.' \
/repos/${{ github.repository }}/check-runs/${{ github.event.client_payload.checkRunId }}

0 comments on commit 86ce681

Please sign in to comment.