fix(pull-requests): missing features & better behaviour (#9188)
Co-authored-by: maria-rcks <[email protected]>
This commit is contained in:
1 parent
4ba39a6f40
commit
443b4ebfe8
34 files changed
+2241
-205
No files matched your search
@@ -202,6 +202,9 @@ const ACTION_ACCESS_REFUSALS: Record<PullRequestAction, string> = {
|
||||
"You need write access on this repository to have it merged for you once it is ready.",
|
||||
"disable-auto-merge":
|
||||
"You need write access on this repository to stop it being merged for you once it is ready.",
|
||||
revert: "You need write access on this repository to open a revert pull request.",
|
||||
"approve-workflows":
|
||||
"You need write access on this repository to approve workflows from a fork pull request.",
|
||||
};
|
||||
|
||||
/**
|
||||
@@ -1290,6 +1293,12 @@ export const make = Effect.gen(function* () {
|
||||
...(changeRequest.autoMergeEnabled === undefined
|
||||
? {}
|
||||
: { autoMergeEnabled: changeRequest.autoMergeEnabled }),
|
||||
...(changeRequest.autoMergeMethod === undefined
|
||||
? {}
|
||||
: { autoMergeMethod: changeRequest.autoMergeMethod }),
|
||||
...(changeRequest.workflowApprovalsRequired === undefined
|
||||
? {}
|
||||
: { workflowApprovalsRequired: changeRequest.workflowApprovalsRequired }),
|
||||
}),
|
||||
),
|
||||
),
|
||||
|
||||
Reference in new issue
Block a user