File tree 2 files changed +3
-5
lines changed
2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change 1
- module . exports = ( { author_association = 'COLLABORATOR' } ) => ( {
1
+ module . exports = ( { author_association = 'COLLABORATOR' } = { } ) => ( {
2
2
name : 'pull_request' ,
3
3
payload : {
4
4
action : 'synchronize' ,
Original file line number Diff line number Diff line change @@ -129,16 +129,14 @@ comments:
129
129
labels:
130
130
- duplicate
131
131
132
- <<<<<<< HEAD
133
132
merges:
134
133
- action: delete_branch
135
- =======
134
+
136
135
commits:
137
136
- action: label
138
137
pattern: merge when passing
139
138
labels:
140
139
- merge when passing
141
- >>>>>>> use synchronize, add unit tests, add to default config
142
140
143
141
default:
144
142
close:
@@ -493,7 +491,7 @@ describe('Bot', () => {
493
491
} )
494
492
495
493
test ( 'Will take action on a maintainer commit message' , async ( ) => {
496
- await robot . receive ( synchronizedPayload ( { } ) )
494
+ await robot . receive ( synchronizedPayload ( ) )
497
495
498
496
expect ( github . issues . addLabels ) . toHaveBeenCalledWith ( {
499
497
number : 4 ,
You can’t perform that action at this time.
0 commit comments