mirror of
https://github.com/Donkie/Spoolman.git
synced 2026-10-22 10:02:17 -05:00
Bump tiangolo/issue-manager 0.5.1 -> 0.8.1. Correct the waiting label delay from 60400s (~16.8h) to 604800s (7 days) to match its message.
39 lines
808 B
YAML
39 lines
808 B
YAML
name: Issue Manager
|
|
|
|
on:
|
|
schedule:
|
|
- cron: "0 0 * * *"
|
|
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/issue-manager@0.8.1
|
|
with:
|
|
token: ${{ secrets.GITHUB_TOKEN }}
|
|
config: >
|
|
{
|
|
"answered": {
|
|
"delay": 604800,
|
|
"message": "It seems the issue was answered, closing this now."
|
|
},
|
|
"waiting": {
|
|
"delay": 604800,
|
|
"message": "Closing after 7 days of waiting for the additional info requested."
|
|
}
|
|
}
|