Skip to content

Commit b672a0b

Browse files
authored
Add TypeSpec label for PullRequests (#26542)
Add TypeSpec label to any PRs that have a *.tsp or tspconfig.yaml file included in their changed files.
1 parent e32e64f commit b672a0b

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

.github/policies/resourceManagement.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2529,7 +2529,16 @@ configuration:
25292529
then:
25302530
- removeLabel:
25312531
label: no-recent-activity
2532-
description:
2532+
description:
2533+
- if:
2534+
- payloadType: Pull_Request
2535+
then:
2536+
- if:
2537+
- filesMatchPattern:
2538+
pattern: specification/.*(\.tsp|tspconfig.yaml)
2539+
then:
2540+
- addLabel:
2541+
label: TypeSpec
25332542
- if:
25342543
- payloadType: Pull_Request
25352544
then:

0 commit comments

Comments
 (0)