Skip to content

Commit 71ecce4

Browse files
authored
[FabricBot] Remove usage of 'noActivitySince' operand condition (#53256)
* [FabricBot] Remove usage of 'noActivitySince' operand condition * Rename Locker GitHub action workflow
1 parent 6cfc445 commit 71ecce4

2 files changed

Lines changed: 1 addition & 63 deletions

File tree

.github/fabricbot.json

Lines changed: 0 additions & 62 deletions
Original file line numberDiff line numberDiff line change
@@ -104,68 +104,6 @@
104104
]
105105
}
106106
},
107-
{
108-
"taskType": "trigger",
109-
"capabilityId": "IssueResponder",
110-
"subCapability": "IssueCommentResponder",
111-
"version": "1.0",
112-
"config": {
113-
"conditions": {
114-
"operator": "and",
115-
"operands": [
116-
{
117-
"name": "isAction",
118-
"parameters": {
119-
"action": "created"
120-
}
121-
},
122-
{
123-
"operator": "not",
124-
"operands": [
125-
{
126-
"name": "isOpen",
127-
"parameters": {}
128-
}
129-
]
130-
},
131-
{
132-
"name": "activitySenderHasPermissions",
133-
"parameters": {
134-
"permissions": "none"
135-
}
136-
},
137-
{
138-
"name": "noActivitySince",
139-
"parameters": {
140-
"days": 7
141-
}
142-
},
143-
{
144-
"operator": "not",
145-
"operands": [
146-
{
147-
"name": "isCloseAndComment",
148-
"parameters": {}
149-
}
150-
]
151-
}
152-
]
153-
},
154-
"eventType": "issue",
155-
"eventNames": [
156-
"issue_comment"
157-
],
158-
"taskName": "[Closed Issue Management] For issues closed with no activity over 7 days, ask non-contributor to consider opening a new issue instead.",
159-
"actions": [
160-
{
161-
"name": "addReply",
162-
"parameters": {
163-
"comment": "Hello lovely human, thank you for your comment on this issue. Because this issue has been closed for a period of time, please strongly consider opening a new issue linking to this issue instead to ensure better visibility of your comment. Thank you!\n\nSee [our Issue Management Policies](https://aka.ms/aspnet/issue-policies) for more information."
164-
}
165-
}
166-
]
167-
}
168-
},
169107
{
170108
"taskType": "trigger",
171109
"capabilityId": "IssueResponder",

.github/workflows/locker.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Locker - Lock stale issues and PRs
1+
name: Locker - Lock stale issues
22
on:
33
schedule:
44
- cron: '34 8 * * *' # Once per day, overnight PT, uncommon minute of hour

0 commit comments

Comments
 (0)