Skip to content

Commit

Permalink
👷 Update issue-manager.yml (#73)
Browse files Browse the repository at this point in the history
👷 Update `issue-manager.yml`
  • Loading branch information
tiangolo authored Sep 7, 2024
1 parent 125aea4 commit a9fb4b4
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions .github/workflows/issue-manager.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: Issue Manager

on:
schedule:
- cron: "15 13 * * *"
issue_comment:
types:
- created
issues:
types:
- labeled
pull_request_target:
types:
- labeled
workflow_dispatch:

permissions:
issues: write
pull-requests: write

jobs:
issue-manager:
runs-on: ubuntu-latest
steps:
- uses: tiangolo/[email protected]
with:
token: ${{ secrets.GITHUB_TOKEN }}
config: >
{
"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."
},
"waiting": {
"delay": 2628000,
"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."
}
}

0 comments on commit a9fb4b4

Please sign in to comment.