Description
If delete-release-branch is set to 1 on a project where the PR close delete the branch the action fails.
How to reproduce
Set up a workflow that uses the action where the PR merge delete the branch (https://docs.github.com/en/repositories/configuring-branches-and-merges-in-your-repository/configuring-pull-request-merges/managing-the-automatic-deletion-of-branches)
Set the parameter delete-release-branch to 1 in the action
Start the workflow
You will see:

Description
If
delete-release-branchis set to 1 on a project where the PR close delete the branch the action fails.How to reproduce
Set up a workflow that uses the action where the PR merge delete the branch (https://docs.github.com/en/repositories/configuring-branches-and-merges-in-your-repository/configuring-pull-request-merges/managing-the-automatic-deletion-of-branches)
Set the parameter
delete-release-branchto 1 in the actionStart the workflow
You will see:
