]> git.ipfire.org Git - thirdparty/fastapi/fastapi.git/commitdiff
🔧 Update issue-manager GitHub action (#1520)
authorSebastián Ramírez <tiangolo@gmail.com>
Fri, 5 Jun 2020 15:34:43 +0000 (17:34 +0200)
committerGitHub <noreply@github.com>
Fri, 5 Jun 2020 15:34:43 +0000 (17:34 +0200)
.github/workflows/issue-manager.yml [moved from .github/workflows/main.yml with 60% similarity]

similarity index 60%
rename from .github/workflows/main.yml
rename to .github/workflows/issue-manager.yml
index 5e0a496842b4757622fce4b9dc009aa46632651c..712930e0ba3200ab8b8be59cac7050e046bab437 100644 (file)
@@ -1,15 +1,24 @@
+name: Issue Manager
+
 on:
   schedule:
-  - cron: "0 0 * * *"
+    - cron: "0 0 * * *"
+  issue_comment:
+    types:
+      - created
+      - edited
+  issues:
+    types:
+      - labeled
 
 jobs:
   issue-manager:
     runs-on: ubuntu-latest
     steps:
-    - uses: tiangolo/issue-manager@master
-      with:
-        token: ${{ secrets.GITHUB_TOKEN }}
-        config: >
+      - uses: tiangolo/issue-manager@0.2.0
+        with:
+          token: ${{ secrets.GITHUB_TOKEN }}
+          config: >
             {
               "answered": {
                 "users": ["tiangolo", "dmontagu"],