Skip to content

Commit 04a6baf

Browse files
committed
first build checks api
1 parent e4fd5a3 commit 04a6baf

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

.github/workflows/build_checks.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
- name: Create Check Run
2+
env:
3+
GH_TOKEN: ${{ github.token }}
4+
run: |
5+
curl -L -X POST \
6+
-H "Accept: application/vnd.github+json" \
7+
-H "Authorization: Bearer $GH_TOKEN"\
8+
-H "X-GitHub-Api-Version: 2022-11-28" \
9+
https://api.github.com/repos/${{ github.repository }}/check-runs \
10+
-d '{"name":"A Mighty Test", "head_sha":"${{ github.event.pull_request.head.sha }}", "status":"in_progress","output":{"title":"A Mighty Summary"}}'

0 commit comments

Comments
 (0)