Quellcode durchsuchen

[FabricBot] Remove usage of 'noActivitySince' operand condition (#53256)

* [FabricBot] Remove usage of 'noActivitySince' operand condition

* Rename Locker GitHub action workflow
Jeff Handley vor 2 Jahren
Ursprung
Commit
71ecce4faa
2 geänderte Dateien mit 1 neuen und 63 gelöschten Zeilen
  1. 0 62
      .github/fabricbot.json
  2. 1 1
      .github/workflows/locker.yml

+ 0 - 62
.github/fabricbot.json

@@ -104,68 +104,6 @@
         ]
         ]
       }
       }
     },
     },
-    {
-      "taskType": "trigger",
-      "capabilityId": "IssueResponder",
-      "subCapability": "IssueCommentResponder",
-      "version": "1.0",
-      "config": {
-        "conditions": {
-          "operator": "and",
-          "operands": [
-            {
-              "name": "isAction",
-              "parameters": {
-                "action": "created"
-              }
-            },
-            {
-              "operator": "not",
-              "operands": [
-                {
-                  "name": "isOpen",
-                  "parameters": {}
-                }
-              ]
-            },
-            {
-              "name": "activitySenderHasPermissions",
-              "parameters": {
-                "permissions": "none"
-              }
-            },
-            {
-              "name": "noActivitySince",
-              "parameters": {
-                "days": 7
-              }
-            },
-            {
-              "operator": "not",
-              "operands": [
-                {
-                  "name": "isCloseAndComment",
-                  "parameters": {}
-                }
-              ]
-            }
-          ]
-        },
-        "eventType": "issue",
-        "eventNames": [
-          "issue_comment"
-        ],
-        "taskName": "[Closed Issue Management] For issues closed with no activity over 7 days, ask non-contributor to consider opening a new issue instead.",
-        "actions": [
-          {
-            "name": "addReply",
-            "parameters": {
-              "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."
-            }
-          }
-        ]
-      }
-    },
     {
     {
       "taskType": "trigger",
       "taskType": "trigger",
       "capabilityId": "IssueResponder",
       "capabilityId": "IssueResponder",

+ 1 - 1
.github/workflows/locker.yml

@@ -1,4 +1,4 @@
-name: Locker - Lock stale issues and PRs
+name: Locker - Lock stale issues
 on:
 on:
   schedule:
   schedule:
     - cron: '34 8 * * *' # Once per day, overnight PT, uncommon minute of hour
     - cron: '34 8 * * *' # Once per day, overnight PT, uncommon minute of hour