Skip to content

Commit 0b23155

Browse files
authored
chore(ci): readd PR labeler (#9355)
1 parent 0d7328f commit 0b23155

File tree

2 files changed

+298
-0
lines changed

2 files changed

+298
-0
lines changed

.github/labeler.yml

Lines changed: 278 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,278 @@
1+
# Configuration for GitHub Actions Labeler
2+
# https://github.com/actions/labeler
3+
4+
internal:
5+
- changed-files:
6+
- any-glob-to-any-file:
7+
- internal/**
8+
- internal/**/*
9+
10+
ci:
11+
- changed-files:
12+
- any-glob-to-any-file:
13+
- .github/workflows/**
14+
- .github/actions/**
15+
- dependency_range_tests/**
16+
- dependency_range_tests/**/*
17+
- environment_tests/**
18+
- environment_tests/**/*
19+
- libs/langchain-standard-tests/**
20+
- libs/langchain-standard-tests/**/*
21+
22+
examples:
23+
- changed-files:
24+
- any-glob-to-any-file:
25+
- examples/**
26+
- examples/**/*
27+
28+
pkg:langchain:
29+
- changed-files:
30+
- any-glob-to-any-file:
31+
- libs/langchain/**
32+
- libs/langchain/**/*
33+
34+
pkg:@langchain/classic:
35+
- changed-files:
36+
- any-glob-to-any-file:
37+
- libs/langchain-classic/**
38+
- libs/langchain-classic/**/*
39+
40+
pkg:@langchain/community:
41+
- changed-files:
42+
- any-glob-to-any-file:
43+
- libs/langchain-community/**
44+
- libs/langchain-community/**/*
45+
46+
pkg:@langchain/core:
47+
- changed-flies:
48+
- any-glob-to-any-file:
49+
- langchain-core/**
50+
- langchain-core/**/*
51+
52+
pkg:@langchain/mcp-adapters:
53+
- changed-files:
54+
- any-glob-to-any-file:
55+
- libs/langchain-mcp-adapters/**
56+
- libs/langchain-mcp-adapters/**/*
57+
58+
pkg:@langchain/textsplitters:
59+
- changed-files:
60+
- any-glob-to-any-file:
61+
- libs/langchain-textsplitters/**
62+
- libs/langchain-textsplitters/**/*
63+
64+
pkg:@langchain/anthropic:
65+
- changed-files:
66+
- any-glob-to-any-file:
67+
- libs/providers/langchain-anthropic/**
68+
- libs/providers/langchain-anthropic/**/*
69+
70+
pkg:@langchain/aws:
71+
- changed-files:
72+
- any-glob-to-any-file:
73+
- libs/providers/langchain-aws/**
74+
- libs/providers/langchain-aws/**/*
75+
76+
# pkg:@langchain/azure-cosmosdb:
77+
# - changed-files:
78+
# - any-glob-to-any-file:
79+
# - libs/providers/langchain-azure-cosmosdb/**
80+
# - libs/providers/langchain-azure-cosmosdb/**/*
81+
82+
# pkg:@langchain/azure-dynamic-sessions:
83+
# - changed-files:
84+
# - any-glob-to-any-file:
85+
# - libs/providers/langchain-azure-dynamic-sessions/**
86+
# - libs/providers/langchain-azure-dynamic-sessions/**/*
87+
88+
# pkg:@langchain/baidu-qianfan:
89+
# - changed-files:
90+
# - any-glob-to-any-file:
91+
# - libs/providers/langchain-baidu-qianfan/**
92+
# - libs/providers/langchain-baidu-qianfan/**/*
93+
94+
# pkg:@langchain/cerebras:
95+
# - changed-files:
96+
# - any-glob-to-any-file:
97+
# - libs/providers/langchain-cerebras/**
98+
# - libs/providers/langchain-cerebras/**/*
99+
100+
# pkg:@langchain/cloudflare:
101+
# - changed-files:
102+
# - any-glob-to-any-file:
103+
# - libs/providers/langchain-cloudflare/**
104+
# - libs/providers/langchain-cloudflare/**/*
105+
106+
# pkg:@langchain/cohere:
107+
# - changed-files:
108+
# - any-glob-to-any-file:
109+
# - libs/providers/langchain-cohere/**
110+
# - libs/providers/langchain-cohere/**/*
111+
112+
pkg:@langchain/deepseek:
113+
- changed-files:
114+
- any-glob-to-any-file:
115+
- libs/providers/langchain-deepseek/**
116+
- libs/providers/langchain-deepseek/**/*
117+
118+
# pkg:@langchain/exa:
119+
# - changed-files:
120+
# - any-glob-to-any-file:
121+
# - libs/providers/langchain-exa/**
122+
# - libs/providers/langchain-exa/**/*
123+
124+
# pkg:@langchain/google-cloud-sql-pg:
125+
# - changed-files:
126+
# - any-glob-to-any-file:
127+
# - libs/providers/langchain-google-cloud-sql-pg/**
128+
# - libs/providers/langchain-google-cloud-sql-pg/**/*
129+
130+
pkg:@langchain/google-common:
131+
- changed-files:
132+
- any-glob-to-any-file:
133+
- libs/providers/langchain-google-common/**
134+
- libs/providers/langchain-google-common/**/*
135+
136+
pkg:@langchain/google-gauth:
137+
- changed-files:
138+
- any-glob-to-any-file:
139+
- libs/providers/langchain-google-gauth/**
140+
- libs/providers/langchain-google-gauth/**/*
141+
142+
pkg:@langchain/google-genai:
143+
- changed-files:
144+
- any-glob-to-any-file:
145+
- libs/providers/langchain-google-genai/**
146+
- libs/providers/langchain-google-genai/**/*
147+
148+
pkg:@langchain/google-vertexai:
149+
- changed-files:
150+
- any-glob-to-any-file:
151+
- libs/providers/langchain-google-vertexai/**
152+
- libs/providers/langchain-google-vertexai/**/*
153+
154+
pkg:@langchain/google-vertexai-web:
155+
- changed-files:
156+
- any-glob-to-any-file:
157+
- libs/providers/langchain-google-vertexai-web/**
158+
- libs/providers/langchain-google-vertexai-web/**/*
159+
160+
pkg:@langchain/google-webauth:
161+
- changed-files:
162+
- any-glob-to-any-file:
163+
- libs/providers/langchain-google-webauth/**
164+
- libs/providers/langchain-google-webauth/**/*
165+
166+
pkg:@langchain/groq:
167+
- changed-files:
168+
- any-glob-to-any-file:
169+
- libs/providers/langchain-groq/**
170+
- libs/providers/langchain-groq/**/*
171+
172+
pkg:@langchain/mistralai:
173+
- changed-files:
174+
- any-glob-to-any-file:
175+
- libs/providers/langchain-mistralai/**
176+
- libs/providers/langchain-mistralai/**/*
177+
178+
# pkg:@langchain/mixedbread-ai:
179+
# - changed-files:
180+
# - any-glob-to-any-file:
181+
# - libs/providers/langchain-mixedbread-ai/**
182+
# - libs/providers/langchain-mixedbread-ai/**/*
183+
184+
pkg:@langchain/mongodb:
185+
- changed-files:
186+
- any-glob-to-any-file:
187+
- libs/providers/langchain-mongodb/**
188+
- libs/providers/langchain-mongodb/**/*
189+
190+
# pkg:@langchain/nomic:
191+
# - changed-files:
192+
# - any-glob-to-any-file:
193+
# - libs/providers/langchain-nomic/**
194+
# - libs/providers/langchain-nomic/**/*
195+
196+
pkg:@langchain/ollama:
197+
- changed-files:
198+
- any-glob-to-any-file:
199+
- libs/providers/langchain-ollama/**
200+
- libs/providers/langchain-ollama/**/*
201+
202+
pkg:@langchain/openai:
203+
- changed-files:
204+
- any-glob-to-any-file:
205+
- libs/providers/langchain-openai/**
206+
- libs/providers/langchain-openai/**/*
207+
208+
pkg:@langchain/pinecone:
209+
- changed-files:
210+
- any-glob-to-any-file:
211+
- libs/providers/langchain-pinecone/**
212+
- libs/providers/langchain-pinecone/**/*
213+
214+
pkg:@langchain/qdrant:
215+
- changed-files:
216+
- any-glob-to-any-file:
217+
- libs/providers/langchain-qdrant/**
218+
- libs/providers/langchain-qdrant/**/*
219+
220+
pkg:@langchain/redis:
221+
- changed-files:
222+
- any-glob-to-any-file:
223+
- libs/providers/langchain-redis/**
224+
- libs/providers/langchain-redis/**/*
225+
226+
pkg:@langchain/tavily:
227+
- changed-files:
228+
- any-glob-to-any-file:
229+
- libs/providers/langchain-tavily/**
230+
- libs/providers/langchain-tavily/**/*
231+
232+
pkg:@langchain/weaviate:
233+
- changed-files:
234+
- any-glob-to-any-file:
235+
- libs/providers/langchain-weaviate/**
236+
- libs/providers/langchain-weaviate/**/*
237+
238+
pkg:@langchain/xai:
239+
- changed-files:
240+
- any-glob-to-any-file:
241+
- libs/providers/langchain-xai/**
242+
- libs/providers/langchain-xai/**/*
243+
244+
pkg:@langchain/yandex:
245+
- changed-files:
246+
- any-glob-to-any-file:
247+
- libs/providers/langchain-yandex/**
248+
- libs/providers/langchain-yandex/**/*
249+
250+
community:
251+
- changed-files:
252+
- any-glob-to-any-file:
253+
- libs/langchain-community/**
254+
- libs/langchain-community/**/*
255+
- libs/providers/langchain-baidu-qianfan/**
256+
- libs/providers/langchain-baidu-qianfan/**/*
257+
- libs/providers/langchain-cerebras/**
258+
- libs/providers/langchain-cerebras/**/*
259+
- libs/providers/langchain-cloudflare/**
260+
- libs/providers/langchain-cloudflare/**/*
261+
- libs/providers/langchain-cohere/**
262+
- libs/providers/langchain-cohere/**/*
263+
- libs/providers/langchain-exa/**
264+
- libs/providers/langchain-exa/**/*
265+
- libs/providers/langchain-mixedbread-ai/**
266+
- libs/providers/langchain-mixedbread-ai/**/*
267+
- libs/providers/langchain-nomic/**
268+
- libs/providers/langchain-nomic/**/*
269+
- libs/providers/langchain-pinecone/**
270+
- libs/providers/langchain-pinecone/**/*
271+
- libs/providers/langchain-qdrant/**
272+
- libs/providers/langchain-qdrant/**/*
273+
- libs/providers/langchain-tavily/**
274+
- libs/providers/langchain-tavily/**/*
275+
- libs/providers/langchain-weaviate/**
276+
- libs/providers/langchain-weaviate/**/*
277+
- libs/providers/langchain-yandex/**
278+
- libs/providers/langchain-yandex/**/*

.github/workflows/labeler.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# Automatically label PRs based on the files changed
2+
name: "Pull Request Labeler"
3+
4+
on:
5+
pull_request_target:
6+
types: [opened, synchronize, reopened, ready_for_review]
7+
8+
permissions:
9+
contents: read
10+
pull-requests: write
11+
12+
jobs:
13+
label:
14+
runs-on: ubuntu-latest
15+
steps:
16+
- name: Label PR based on file paths
17+
uses: actions/labeler@v5
18+
with:
19+
repo-token: "${{ secrets.GITHUB_TOKEN }}"
20+
sync-labels: true # Remove labels when files no longer match

0 commit comments

Comments
 (0)