Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
ArthurZucker committed Aug 28, 2024
1 parent 124e09d commit 5b0e46d
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/self-comment-slow-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,18 @@ jobs:
/repos/${{ github.repository }}/issues/${{ github.event.pull_request.number }}/comments \
-f "body=This comment contains /pytest, running the specified job..."
- name: Create Check Run
id: create_check_run
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_RUN_URL: https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}/jobs/${{ github.job }}
run:
gh api \
--method POST \
-H "Accept: application/vnd.github+json" \
-H "X-GitHub-Api-Version: 2022-11-28" \
/repos/OWNER/REPO/statuses/SHA \
-f "state=pending" -f "target_url=$GITHUB_RUN_URL" -f "description=The build succeeded!" -f "context=continuous-integration/pytest"

- name: Create Check Run
id: create_check_run
Expand Down

0 comments on commit 5b0e46d

Please sign in to comment.