-
Hi, Thank you ! |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments
-
Currently, we seem have not methods to re-run an individual job in a workflow run. We only can re-run the whole workflow run. If your projects really need this feature, I recommend you directly share a feature request in the Feedback form for GitHub Actions. |
Beta Was this translation helpful? Give feedback.
-
Hi, thank you for your answer ! In the meantime I achieved something using Checks API. In my last job I take the run ID of a previous job and set it to success, it works BUT at the end of the workflow, the status comes back to failure… I can see the icon going from red cross, to green tick and to red cross again… |
Beta Was this translation helpful? Give feedback.
-
The Checks API is applied to the checks created by the Checks API via the GitHub Apps. The “Update a check run” endpoint is not functionally equivalent to re-running a job. |
Beta Was this translation helpful? Give feedback.
-
Thank you, |
Beta Was this translation helpful? Give feedback.
@PaulLesur,
The Checks API is applied to the checks created by the Checks API via the GitHub Apps.
For example, if you use “Create a check run” endpoint to create a check run with a specified status, then you can use the “Update a check run” endpoint to change the status.
The “Update a check run” endpoint is not functionally equivalent to re-running a job.