jenkinsci / jenkinsci/github-checks-plugin

Re-running Checks Programmatically

Open
#176 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
89
Forks
50
Avg merge
13h 55m
Merged PRs (30d)
7

Description

Hello,

I am using this plugin and have no trouble re-running a check through the "Rerun" button that's found on the GitHub API. However, I've attempted to do this programmatically via the Octokit APIs by sending a request like so:
```
const response = await octokit.checks.rerequestSuite({
owner: org,
repo: repoName,
check_suite_id: suite.id
});
```
where `suite.id` is the value for this plugin. This returns a 201 response and the status is changed to `queued`. From there, nothing changes in the GitHub checks UI and the status is never changed to `in_progress` or similar. Is this not supported, or is this a configuration issue on our end? We have the app set up with events for `check_suite` and `check_run`.

Any help is appreciated!
Thanks,

Joe

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.