mirror of
https://github.com/Creators-of-Create/Create.git
synced 2024-12-15 02:03:44 +01:00
Added "Manage Issues" action
- Added manage_issues.yml to automatically deal with inactive issues
This commit is contained in:
parent
dcb7b78adb
commit
a83618ef24
1 changed files with 23 additions and 0 deletions
23
.github/workflows/manage_issues.yml
vendored
Normal file
23
.github/workflows/manage_issues.yml
vendored
Normal file
|
@ -0,0 +1,23 @@
|
||||||
|
name: "Manage Issues"
|
||||||
|
on:
|
||||||
|
schedule:
|
||||||
|
- cron: '0 */12 * * *'
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
stale:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
permissions:
|
||||||
|
issues: write
|
||||||
|
steps:
|
||||||
|
- uses: actions/stale@v4
|
||||||
|
with:
|
||||||
|
days-before-issue-stale: 21
|
||||||
|
days-before-issue-close: 21
|
||||||
|
stale-issue-label: "stale"
|
||||||
|
exempt-issue-labels: "timeless, suggestion"
|
||||||
|
stale-issue-message: "This issue has been marked as stale because it has been inactive for 3 weeks. It will be closed if it remains inactive for another 3 weeks."
|
||||||
|
close-issue-message: "This issue has been closed since it has been inactive for 3 weeks since it was marked as stale."
|
||||||
|
days-before-pr-stale: -1
|
||||||
|
days-before-pr-close: -1
|
||||||
|
operations-per-run: 300
|
||||||
|
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
Loading…
Reference in a new issue