Skip to content

Commit

Permalink
Add TypeSpec label for PullRequests (Azure#26542)
Browse files Browse the repository at this point in the history
Add TypeSpec label to any PRs that have a *.tsp or tspconfig.yaml file included in their changed files.
  • Loading branch information
weshaggard authored Nov 2, 2023
1 parent e32e64f commit b672a0b
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/policies/resourceManagement.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit b672a0b

Please sign in to comment.