Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Ilya Lesikov <ilya@lesikov.com>
- Loading branch information
1 parent
83f433b
commit 328fe38
Showing
1 changed file
with
33 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 | ||
} | ||
} | ||