File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -89,12 +89,16 @@ jobs:
89
89
const hasJump = jumpApprovers.some(u => approved.includes(u));
90
90
const hasAnza = anzaApprovers.some(u => approved.includes(u));
91
91
92
+ // Filter out 'benhawkins18' and 'jacobcreech' from error messages
93
+ const jumpApproversForMsg = jumpApprovers.filter(u => u !== 'benhawkins18' && u !== 'jacobcreech');
94
+ const anzaApproversForMsg = anzaApprovers.filter(u => u !== 'benhawkins18' && u !== 'jacobcreech');
95
+
92
96
// helpful failure message
93
97
const missingMsgs = [];
94
98
if (!hasJump)
95
- missingMsgs.push(`Jump approval missing, need one of: ${jumpApprovers .join(', ')}`);
99
+ missingMsgs.push(`Jump approval missing, need one of: ${jumpApproversForMsg .join(', ')}`);
96
100
if (!hasAnza)
97
- missingMsgs.push(`Anza approval missing, need one of: ${anzaApprovers .join(', ')}`);
101
+ missingMsgs.push(`Anza approval missing, need one of: ${anzaApproversForMsg .join(', ')}`);
98
102
99
103
// PR-check summary
100
104
core.summary
You can’t perform that action at this time.
0 commit comments