Skip to content
This repository was archived by the owner on Apr 7, 2024. It is now read-only.
This repository was archived by the owner on Apr 7, 2024. It is now read-only.

[PRO-155] Create empty commit on pr if the HEAD_SHA is from a user outside the org (forked branch) #72

@NicHaley

Description

@NicHaley

Review comments do not currently work if the HEAD_SHA is from a forked branch. This is because the GH review comment API requires a commit_id, which in this case belong to a user outside the org. The method will thus give a 401.

A possible solution would be to create an empty commit if the HEAD_SHA is from outside the org. Then, pass the empty commit SHA to the review comment command.

Ideally, this functionality should be attached to a flag so that the org can determine if they want to opt into this functionality.

From SyncLinear.com | PRO-155

Metadata

Metadata

Assignees

Labels

ImprovementCreated by Linear-GitHub SyncMedium priorityCreated by Linear-GitHub Sync

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions