1
0
mirror of https://github.com/upx/upx synced 2025-10-12 20:59:43 +08:00
upx/.github/workflows/close-stale-issues.yml
2022-08-12 17:59:32 +02:00

26 lines
1.1 KiB
YAML

# see https://docs.github.com/en/actions/managing-issues-and-pull-requests/closing-inactive-issues
# see https://github.com/actions/stale
name: Close inactive issues
on:
schedule:
- cron: "30 6 * * *"
jobs:
close-issues:
runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write
steps:
- uses: actions/stale@v5
with:
operations-per-run: 150
days-before-stale: 60
days-before-close: 14
stale-issue-message: 'This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 14 days.'
stale-pr-message: 'This PR is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 14 days.'
close-issue-message: 'This issue was closed because it has been stalled for 14 days with no activity.'
close-pr-message: 'This PR was closed because it has been stalled for 14 days with no activity.'
repo-token: ${{ secrets.GITHUB_TOKEN }}