Skip to content

Commit

Permalink
ot this?
Browse files Browse the repository at this point in the history
  • Loading branch information
ArthurZucker committed Aug 28, 2024
1 parent ece9454 commit 5afd945
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions .github/workflows/self-comment-slow-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,13 +51,23 @@ jobs:
/repos/${{ github.repository }}/issues/${{ github.event.pull_request.number }}/comments \
-f "body=This comment contains /pytest, running the specified job..."
- run: |
- name: test checks
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
gh api \
--method POST \
-H "Accept: application/vnd.github+json" \
-H "X-GitHub-Api-Version: 2022-11-28" \
/repos/OWNER/REPO/check-runs \
-f "name=mighty_readme" -f "head_sha=ce587453ced02b1526dfb4cb910479d431683101" -f "status=in_progress" -f "external_id=42" -f "started_at=2018-05-04T01:14:52Z" -f "output[title]=Mighty Readme report" -f "output[summary]=" -f "output[text]="
/repos/${{ github.repository }}/check-runs \
-f "name=mighty_readme" \
-f "head_sha=$HEAD_SHA" \
-f "status=in_progress" \
-f "external_id=42" \
-f "started_at=$(date -u +'%Y-%m-%dT%H:%M:%SZ')" \
-f "output[title]=Mighty Readme report" \
-f "output[summary]=This is the summary of the check run." \
-f "output[text]=Detailed output goes here."
# COMMENT_ID=${{ github.event.comment.id }}
# gh api \
# --method POST \
Expand Down

0 comments on commit 5afd945

Please sign in to comment.