Skip to content

create-pull-request action fails on delete #67

Description

@ian-shafer

TL;DR

I believe this is caused by the loop that iterates over deleted files and attempts to get the file's mode via the stat command. Unfortunately, one cannot stat a deleted file.

My first idea to fix is to see if we need a file's mode for deleted files. I'm hoping we don't, so similar to the SHA, we can just leave it unset/null.

Expected behavior

No response

Observed behavior

Unhandled error: Error: ENOENT: no such file or directory, stat ''

Environment Details

N/A

Additional information

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions