]> git.ipfire.org Git - thirdparty/fastapi/sqlmodel.git/commitdiff
👷 Update issue-manager (#1045)
authorSebastián Ramírez <tiangolo@gmail.com>
Sat, 3 Aug 2024 19:13:18 +0000 (14:13 -0500)
committerGitHub <noreply@github.com>
Sat, 3 Aug 2024 19:13:18 +0000 (19:13 +0000)
.github/workflows/issue-manager.yml

index d25be4bfb2e8948d37be952312fe42d6b33f6354..4e1a5f7ed2a22ac06b34f0152040264626b93bf1 100644 (file)
@@ -2,7 +2,7 @@ name: Issue Manager
 
 on:
   schedule:
-    - cron: "0 0 * * *"
+    - cron: "11 4 * * *"
   issue_comment:
     types:
       - created
@@ -19,8 +19,13 @@ permissions:
 
 jobs:
   issue-manager:
+    if: github.repository_owner == 'tiangolo'
     runs-on: ubuntu-latest
     steps:
+      - name: Dump GitHub context
+        env:
+          GITHUB_CONTEXT: ${{ toJson(github) }}
+        run: echo "$GITHUB_CONTEXT"
       - uses: tiangolo/issue-manager@0.5.0
         with:
           token: ${{ secrets.GITHUB_TOKEN }}
@@ -29,5 +34,9 @@ jobs:
               "answered": {
                 "delay": 864000,
                 "message": "Assuming the original need was handled, this will be automatically closed now. But feel free to add more comments or create new issues or PRs."
+              },
+              "changes-requested": {
+                "delay": 2628000,
+                "message": "As this PR had requested changes to be applied but has been inactive for a while, it's now going to be closed. But if there's anyone interested, feel free to create a new PR."
               }
             }