Code is located here: https://github.com/Cratis/release-action/blob/b7b164a260a77f7af0ad39c91592a2e9149e6253/Source/PullRequests.ts#L19 We basically don't want to deploy a release for a PR that is closed that is basically not merged into target branch.