Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Co-authored-by: Daniel Dyla <[email protected]>
  • Loading branch information
trask and dyladan authored Apr 11, 2023
1 parent 93b5784 commit ae466a5
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -114,15 +114,6 @@ export async function getChangedFiles(client: Client, base: string, head: string
)
}

// Ensure that the head commit is ahead of the base commit.
if (compareResponse.data.status !== 'ahead') {
throw new Error(
`The head commit for this ${github.context.eventName} event is not ahead of the base commit. ` +
"Please submit an issue on this action's GitHub repo."
)
}


const changedFiles = compareResponse.data.files;

if (!changedFiles) {
Expand Down

0 comments on commit ae466a5

Please sign in to comment.