Skip to content

Commit

Permalink
Add 'unapprove-on-update' to generator
Browse files Browse the repository at this point in the history
  • Loading branch information
robertoaloi committed Feb 24, 2021
1 parent 9121174 commit 1908ac9
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions test/bec_proper_gen.erl
Original file line number Diff line number Diff line change
Expand Up @@ -216,13 +216,20 @@ path() ->
%% PR Restrictions
%%==============================================================================
pr_restrictions() ->
?LET( {MergeConfig, AllApprovers, AllTasks, Approvers, Builds}
, {merge_config(), bool(), bool(), nat(), nat()}
?LET( { MergeConfig
, AllApprovers
, AllTasks
, Approvers
, Builds
, UnapproveOnUpdate
}
, {merge_config(), bool(), bool(), nat(), nat(), bool()}
, #{ 'merge-config' => MergeConfig
, 'required-all-approvers' => AllApprovers
, 'required-all-tasks-complete' => AllTasks
, 'required-approvers' => Approvers
, 'required-successful-builds' => Builds
, 'unapprove-on-update' => UnapproveOnUpdate
}).

merge_config() ->
Expand Down

0 comments on commit 1908ac9

Please sign in to comment.