diff --git a/.github/policies/resourceManagement.yml b/.github/policies/resourceManagement.yml index 7717446efda4..a6d49d2c102e 100644 --- a/.github/policies/resourceManagement.yml +++ b/.github/policies/resourceManagement.yml @@ -2529,7 +2529,16 @@ configuration: then: - removeLabel: label: no-recent-activity - description: + description: + - if: + - payloadType: Pull_Request + then: + - if: + - filesMatchPattern: + pattern: specification/.*(\.tsp|tspconfig.yaml) + then: + - addLabel: + label: TypeSpec - if: - payloadType: Pull_Request then: