Can I change the status of a previous job?

I was wondering if I could change the status of a previous job in my workflow from another job.
In fact I have a workflow which runs on pull requests, in this workflow I have a matrix job which splits my tests suites between 20 runners in parallel. After this matrix job I have a “Retry job” which rerun the failed jobs. If the tests passed on rerun, then I want to set the status of runners to success to not “disturb” the combined status of the PR.
So I was searching for a way to set status of previous job or to remove a status from a commit.

Thank you !


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.
That will allow you to directly interact with the appropriate engineering team, and make it more convenient for the engineering team to collect and categorize your suggestions.

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…


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.

Thank you,
My solution is to trigger another workflow wich update checks of my PR, but this is not a great solution…