There are a couple of ways to show Jenkins build status on a GitHub repository:
Using Jenkins’ embeddable build status badge
Using GitHub Actions to trigger Jenkins builds and update commit status
This tutorial properly explains how to show the Jenkins build status using these two methods: https://www.baeldung.com/ops/jenkins-build-status-github