As mentioned in the GitHub Actions documentation [1] > Note: Referencing the workflow file using the file path does not work if the workflow has a name. [1] https://docs.github.com/en/free-pro-team@latest/actions/managing-workflow-runs/adding-a-workflow-status-badge