瀏覽代碼

[action] Add needs-triage labeler

max furman 5 年之前
父節點
當前提交
bc4bf224e8
共有 2 個文件被更改,包括 16 次插入 和 0 次删除
  1. 2 0
      .github/needs-triage-labeler.yml
  2. 14 0
      .github/workflows/labeler.yml

+ 2 - 0
.github/needs-triage-labeler.yml

@@ -0,0 +1,2 @@
+needs triage:
+- "**"

+ 14 - 0
.github/workflows/labeler.yml

@@ -0,0 +1,14 @@
+name: labeler
+on:
+  pull_request:
+    branches:
+      - master
+
+jobs:
+  label:
+    runs-on: ubuntu-latest
+    steps:
+    - uses: actions/labeler@v2
+      with:
+        repo-token: "${{ secrets.GITHUB_TOKEN }}"
+        configuration-path: .github/needs-triage-labeler.yml