Skip to content

Commit 9ae58e8

Browse files
committed
feat: add autoapproved field in Action
1 parent 54970fb commit 9ae58e8

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/proxy/actions/Action.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ class Action {
1414
authorised = false;
1515
canceled = false;
1616
rejected = false;
17+
autoApproved = false;
1718
commitFrom;
1819
commitTo;
1920
branch;
@@ -104,6 +105,13 @@ class Action {
104105
this.blocked = false;
105106
}
106107

108+
/**
109+
*`
110+
*/
111+
setAllowAutoApprover() {
112+
this.autoApproved = true;
113+
}
114+
107115
/**
108116
* @return {bool}
109117
*/

0 commit comments

Comments
 (0)