Cross repo builds

Let’s say you have two repositories that depend on each other. For simplicity, let’s call them “front” and “back”.

When you submit code to “front”, the github actions are run. You use a respository_dispatch to trigger a github action in the “back”.

How can you make it so that “front” waits for and transfers a green check from the “back” repo? As if it were just another check.