mirror of
https://code.forgejo.org/forgejo/runner.git
synced 2025-08-26 18:20:59 +00:00
manage stale issues in GH actions
This commit is contained in:
parent
afb034b246
commit
85fde9ee94
1 changed files with 18 additions and 0 deletions
18
.github/workflows/stale.yml
vendored
Normal file
18
.github/workflows/stale.yml
vendored
Normal file
|
@ -0,0 +1,18 @@
|
|||
name: "Close stale issues"
|
||||
on:
|
||||
schedule:
|
||||
- cron: "0 0 * * *"
|
||||
|
||||
jobs:
|
||||
stale:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/stale@v1
|
||||
with:
|
||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
stale-issue-message: 'Issue is stale and will be closed in 7 days unless there is new activity'
|
||||
stale-pr-message: 'PR is stale and will be closed in 7 days unless there is new activity'
|
||||
stale-issue-label: 'meta/stale'
|
||||
exempt-issue-label: 'meta/stale-exempt'
|
||||
stale-pr-label: 'meta/stale'
|
||||
exempt-pr-label: 'meta/stale-exempt'
|
Loading…
Add table
Add a link
Reference in a new issue