Skip to content

Commit 9c60d9a

Browse files
chore: tweaks
1 parent 1a25ab9 commit 9c60d9a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/api-helper.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ export default class ApiHelper {
135135
/**
136136
* @return {string} commit sha
137137
*/
138-
private getCommitSha = (): string => isPrRef(this.context) && this.context.payload.pull_request ? this.context.payload.pull_request.head.sha : this.context.sha;
138+
private getCommitSha = (): string => this.context.payload.pull_request ? this.context.payload.pull_request.head.sha : this.context.sha;
139139

140140
/**
141141
* @return {Promise<GitGetCommitResponseData>} commit

0 commit comments

Comments
 (0)