Skip to content

Commit

Permalink
Merge pull request #4680 from werf/chore-add-delayed-issue-closer
Browse files Browse the repository at this point in the history
chore: add delayed issue closer bot
  • Loading branch information
ilya-lesikov committed Jul 28, 2022
2 parents 83f433b + 328fe38 commit 66d6a58
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/delayed_issue_close.yml
@@ -0,0 +1,33 @@
name: Delayed Issue Closing

on:
schedule:
- cron: "0 8 * * *"
issue_comment:
types:
- created
issues:
types:
- labeled
pull_request_target:
types:
- labeled
workflow_dispatch:

jobs:
issue-manager:
runs-on: ubuntu-latest
steps:
- uses: tiangolo/issue-manager@0.4.0
with:
token: ${{ secrets.GITHUB_TOKEN }}
config: >
{
"solved": {
"delay": "604800",
"message": "Seems the issue was solved. Closing after 7 days of inactivity.",
"remove_label_on_comment": true,
"remove_label_on_close": true
}
}

0 comments on commit 66d6a58

Please sign in to comment.