Skip to content

Same agent Smaller bill. The tools and infrastructure to get more work from your AI. Fewer tokens. Less compute. Lower cost.

[Feat]: Add Automatic PR labeller workflow (#444)

Patcher4e53419d1360
diff --git a/.github/labeler.yml b/.github/labeler.yml
new file mode 100644
index 00000000..23dfb429
--- /dev/null
+++ b/.github/labeler.yml
@@ -0,0 +1,15 @@
+openlit-python:
+- changed-files:
+ - any-glob-to-any-file: 'sdk/python/*'
+
+openlit-js:
+- changed-files:
+ - any-glob-to-any-file: 'sdk/typescript/*'
+
+client:
+- changed-files:
+ - any-glob-to-any-file: 'src/*'
+
+Documentation:
+- changed-files:
+ - any-glob-to-any-file: 'docs/*'
\ No newline at end of file
diff --git a/.github/workflows/pr-tag.yml b/.github/workflows/pr-tag.yml
new file mode 100644
index 00000000..c3a2d4df
--- /dev/null
+++ b/.github/workflows/pr-tag.yml
@@ -0,0 +1,12 @@
+name: Pull Request Labeler
+on:
+- pull_request_target
+
+jobs:
+ labeler:
+ permissions:
+ contents: read
+ pull-requests: write
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/labeler@v5