Reject Deployment to trigger Revert PR

I’m trying to use GitHub environments to do create a Continuous Delivery workflow.

When PRs get merged into main branch the workflow will kick off: dev → stage → prod

I have environment protection rules on stage and prod. If an approver Rejects the workflow will fail.

However, is there an option to trigger something after a Reject .e.g. if I want to automatically revert the PR?