Skip to content

Error when trying to delete non existing branch #4

@maniolias

Description

@maniolias

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:
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions