Skip to content

Commit d260494

Browse files
committed
Stop trying to display the target branch
1 parent 642375f commit d260494

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.github/validate-pr/index.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,6 @@ async function run() {
5656
path.join(tsValidationPath, 'types.ts')
5757
)
5858
const context = github.context
59-
const branch = context.payload.base_ref
6059
assert(context.payload.pull_request, 'We should be in a PR context')
6160
const files = []
6261
let page = 1
@@ -150,7 +149,7 @@ async function run() {
150149
}
151150
changedApis.sort((a, b) => a.api.localeCompare(b.api))
152151

153-
let comment = `Following you can find the validation changes against the ${branch} branch for the API${changedApis.length === 1 ? '' : 's'}.\n\n`
152+
let comment = `Following you can find the validation changes against the target branch for the API${changedApis.length === 1 ? '' : 's'}.\n\n`
154153
if (changedApis.length > 0) {
155154
comment += '| API | Status | Request | Response |\n'
156155
comment += '| --- | --- | --- | --- |\n'

0 commit comments

Comments
 (0)