Skip to content

A platform for community discussion. Free, open, simple.

DEV: Automatically label chat PRs (#18843)

David Taylor449f7d5ed5b3
diff --git a/.github/labeler.yml b/.github/labeler.yml
new file mode 100644
index 00000000000..d90a124037b
--- /dev/null
+++ b/.github/labeler.yml
@@ -0,0 +1,2 @@
+chat:
+- any: plugins/chat/**/*
diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml
new file mode 100644
index 00000000000..057208eda32
--- /dev/null
+++ b/.github/workflows/labeler.yml
@@ -0,0 +1,14 @@
+name: "Pull Request Labeler"
+on:
+- pull_request_target
+
+jobs:
+ triage:
+ permissions:
+ contents: read
+ pull-requests: write
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/labeler@v4
+ with:
+ repo-token: "${{ secrets.GITHUB_TOKEN }}"