Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
trask committed Apr 11, 2023
1 parent 1189632 commit 10b5c9a
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 10b5c9a

Please sign in to comment.