We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1a25ab9 commit 9c60d9aCopy full SHA for 9c60d9a
src/api-helper.ts
@@ -135,7 +135,7 @@ export default class ApiHelper {
135
/**
136
* @return {string} commit sha
137
*/
138
- private getCommitSha = (): string => isPrRef(this.context) && this.context.payload.pull_request ? this.context.payload.pull_request.head.sha : this.context.sha;
+ private getCommitSha = (): string => this.context.payload.pull_request ? this.context.payload.pull_request.head.sha : this.context.sha;
139
140
141
* @return {Promise<GitGetCommitResponseData>} commit
0 commit comments