Sfoglia il codice sorgente

[action] Add needs-triage labeler

max furman 5 anni fa
parent
commit
bc4bf224e8
2 ha cambiato i file con 16 aggiunte e 0 eliminazioni
  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