Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Re-run all checks and re-run failed checks are not supported. #259

Open
Zimmi48 opened this issue Nov 27, 2022 · 2 comments
Open

Re-run all checks and re-run failed checks are not supported. #259

Zimmi48 opened this issue Nov 27, 2022 · 2 comments
Labels
enhancement New feature or request

Comments

@Zimmi48
Copy link
Member

Zimmi48 commented Nov 27, 2022

@coqbot already supports the "Re-run" button for an individual failed check in the GitHub Checks tab (see the left-hand side in the screenshot below) but it doesn't support the new "re-run all checks" and "re-run failed checks" features (they lead to a check_suite.rerequested event, see example JSON below).

image

{
  "action": "rerequested",
  "check_suite": {
    "id": 9518587276,
    "node_id": "CS_kwDOABUDh88AAAACN1odjA",
    "head_branch": null,
    "head_sha": "658ac3b32035612b43b99eee4c10a887fd657e99",
    "status": "queued",
    "conclusion": null,
    "url": "https://api.github.com/repos/coq/coq/check-suites/9518587276",
    "before": null,
    "after": null,
    "pull_requests": [

    ],
    "app": {
      "id": 31373,
      "slug": "coqbot-app",
      ...
    },
    "created_at": "2022-11-26T17:30:25Z",
    "updated_at": "2022-11-27T17:12:18Z",
    "rerequestable": true,
    "runs_rerequestable": true,
    "latest_check_runs_count": 2,
    "check_runs_url": "https://api.github.com/repos/coq/coq/check-suites/9518587276/check-runs",
    "head_commit": {
      "id": "658ac3b32035612b43b99eee4c10a887fd657e99",
      "tree_id": "84995dbb3a57fbcb781701f1f8b86a6cc1f8e45d",
      "message": "Backport PR #16892: deprecate Zmod",
      ...
    }
  },
  "repository": {
    "id": 1377159,
    "node_id": "MDEwOlJlcG9zaXRvcnkxMzc3MTU5",
    "name": "coq",
    "full_name": "coq/coq",
    ...
  },
  "organization": {
    "login": "coq",
    ...
  },
  "sender": {
    "login": "Zimmi48",
    ...
  },
  "installation": {
    "id": 1062161,
    "node_id": "..."
  }
}
@ticket-tagger ticket-tagger bot added the bug Something isn't working label Nov 27, 2022
@Zimmi48 Zimmi48 added enhancement New feature or request and removed bug Something isn't working labels Nov 27, 2022
@ticket-tagger ticket-tagger bot added bug Something isn't working and removed enhancement New feature or request labels Nov 27, 2022
@rafaelkallis
Copy link

@Zimmi48 sorry for the mess with tickettagger. I am working on improvements and replayed the wrong event(s) by accident. Issue is resolved now.

@Zimmi48
Copy link
Member Author

Zimmi48 commented Nov 28, 2022

No worries, thanks for letting me know 🙏

@Zimmi48 Zimmi48 added enhancement New feature or request and removed bug Something isn't working labels Nov 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants