File tree Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Expand file tree Collapse file tree 2 files changed +5
-0
lines changed Original file line number Diff line number Diff line change 7575 data ['required_pull_request_reviews' ]['required_approving_review_count' ] = inputconfig ['Required approvals count' ]
7676 else :
7777 data ['required_pull_request_reviews' ]['required_approving_review_count' ] = 0
78+ if inputconfig ['Require last push approval' ] == True :
79+ data ['required_pull_request_reviews' ]['require_last_push_approval' ] = True
80+ else :
81+ data ['required_pull_request_reviews' ]['require_last_push_approval' ] = False
7882 data ['required_pull_request_reviews' ]['bypass_pull_request_allowances' ] = {}
7983 data ['required_pull_request_reviews' ]['bypass_pull_request_allowances' ]['users' ] = []
8084 data ['required_pull_request_reviews' ]['bypass_pull_request_allowances' ]['teams' ] = []
Original file line number Diff line number Diff line change 55 "data" : {
66 "Require a pull request before merging" : false ,
77 "Required approvals count" : 0 ,
8+ "Require last push approval" : false ,
89 "Dismiss stale pull request approvals when new commits are pushed" : false ,
910 "Require review from Code Owners" : false ,
1011 "Restrict who can dismiss pull request reviews" : [
You can’t perform that action at this time.
0 commit comments