aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
Diffstat (limited to '.github')
-rw-r--r--.github/labeler.yml32
-rw-r--r--.github/workflows/pr-labeler.yml11
2 files changed, 43 insertions, 0 deletions
diff --git a/.github/labeler.yml b/.github/labeler.yml
new file mode 100644
index 0000000000..62eaed6e3f
--- /dev/null
+++ b/.github/labeler.yml
@@ -0,0 +1,32 @@
+# For more ideas, see https://github.com/actions/labeler#common-examples
+
+system:
+ - .github/**/*
+
+l10n-de:
+ - files/de/**/*
+
+l10n-es:
+ - files/es/**/*
+
+l10n-fr:
+ - files/fr/**/*
+
+l10n-ja:
+ - files/ja/**/*
+
+l10n-ko:
+ - files/ko/**/*
+
+l10n-pl:
+ - files/pl/**/*
+
+l10n-pr-br:
+ - files/pt-br/**/*
+
+l10n-ru:
+ - files/ru/**/*
+
+l10n-zh:
+ - files/zh-cn/**/*
+ - files/zh-tw/**/*
diff --git a/.github/workflows/pr-labeler.yml b/.github/workflows/pr-labeler.yml
new file mode 100644
index 0000000000..39067d1d99
--- /dev/null
+++ b/.github/workflows/pr-labeler.yml
@@ -0,0 +1,11 @@
+name: "Pull Request Labeler"
+on:
+ - pull_request_target
+
+jobs:
+ triage:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/labeler@v3
+ with:
+ repo-token: "${{ secrets.GITHUB_TOKEN }}"