Skip to content

Commit df94e73

Browse files
authored
👷 Update issue-manager (#1288)
1 parent af08676 commit df94e73

File tree

1 file changed

+15
-4
lines changed

1 file changed

+15
-4
lines changed

.github/workflows/issue-manager.yml

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,30 +2,41 @@ name: Issue Manager
22

33
on:
44
schedule:
5-
- cron: "0 0 * * *"
5+
- cron: "13 4 * * *"
66
issue_comment:
77
types:
88
- created
9-
- edited
109
issues:
1110
types:
1211
- labeled
12+
pull_request_target:
13+
types:
14+
- labeled
15+
workflow_dispatch:
1316

1417
permissions:
1518
issues: write
1619

1720
jobs:
1821
issue-manager:
22+
if: github.repository_owner == 'fastapi'
1923
runs-on: ubuntu-latest
2024
steps:
25+
- name: Dump GitHub context
26+
env:
27+
GITHUB_CONTEXT: ${{ toJson(github) }}
28+
run: echo "$GITHUB_CONTEXT"
2129
- uses: tiangolo/[email protected]
2230
with:
2331
token: ${{ secrets.GITHUB_TOKEN }}
2432
config: >
2533
{
2634
"answered": {
27-
"users": ["tiangolo"],
2835
"delay": 864000,
29-
"message": "Assuming the original issue was solved, it will be automatically closed now. But feel free to add more comments or create new issues."
36+
"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."
37+
},
38+
"changes-requested": {
39+
"delay": 2628000,
40+
"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."
3041
}
3142
}

0 commit comments

Comments
 (0)