Skip to content

Commit f0b5fcb

Browse files
authored
👷 Update issue-manager.yml (#32)
👷 Update `issue-manager.yml`
1 parent c0fced5 commit f0b5fcb

File tree

1 file changed

+18
-17
lines changed

1 file changed

+18
-17
lines changed

.github/workflows/issue-manager.yml

+18-17
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,17 @@ name: Issue Manager
22

33
on:
44
schedule:
5-
- cron: "0 0 * * *"
5+
- cron: "15 18 * * *"
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
@@ -19,19 +22,17 @@ jobs:
1922
issue-manager:
2023
runs-on: ubuntu-latest
2124
steps:
22-
- uses: tiangolo/issue-manager@master
23-
with:
24-
token: ${{ secrets.GITHUB_TOKEN }}
25-
26-
config: >
27-
{
28-
"answered":{
29-
"delay": 300,
30-
"users": ["mariacamilagl"],
31-
"message": "This issue shall be closed."
32-
},
33-
"more-info-needed": {
34-
"delay": 120,
35-
"remove_label_on_close": true
25+
- uses: tiangolo/[email protected]
26+
with:
27+
token: ${{ secrets.GITHUB_TOKEN }}
28+
config: >
29+
{
30+
"answered": {
31+
"delay": 864000,
32+
"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."
33+
},
34+
"waiting": {
35+
"delay": 2628000,
36+
"message": "As this PR has been waiting for the original user for a while but seems to be inactive, it's now going to be closed. But if there's anyone interested, feel free to create a new PR."
37+
}
3638
}
37-
}

0 commit comments

Comments
 (0)