Skip to content

Commit 08b9370

Browse files
authored
Fix race with /external github trigger (#5718)
* fix race with external bot * remove frequencies for now * address comments
1 parent 3f96275 commit 08b9370

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

.github/policies/resourceManagement.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -290,6 +290,16 @@ configuration:
290290
label: needs-assignee-attention
291291
- addLabel:
292292
label: area-External
293+
294+
- description: Close /external issues (step 2)
295+
if:
296+
- hasLabel:
297+
label: area-External
298+
- isOpen
299+
- commentContains:
300+
pattern: '\/[E|e]xternal'
301+
isRegex: True
302+
then:
293303
- closeIssue
294304

295305
onFailure:

0 commit comments

Comments
 (0)