Files
DeepFaceLab_MacOS/.github/workflows/stale-issues.yml
T
Oleksandr Chychkan be70ea702a Create stale-issues.yml
2021-11-11 13:48:49 -08:00

32 lines
949 B
YAML

# This workflow warns and then closes issues and PRs that have had no activity for a specified amount of time.
#
# You can adjust the behavior by modifying this file.
# For more information, see:
# https://github.com/actions/stale
name: Mark stale issues and pull requests
on:
schedule:
- cron: '45 14 * * *'
jobs:
stale:
runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write
steps:
- uses: actions/stale@v3
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
days-before-stale: -1
days-before-issue-stale: 30
days-before-close: -1
days-before-issue-close: 45
stale-issue-message: 'The issue is tagged as "stale issue" due to no activity in 30 days. If there is no activity for 15 more days, the issue will be closed.'
stale-issue-label: 'stale issue'
close-issue-message: 'Closing this issue due to no activity in last 45 days'