Files
cacti/.github/workflows/oldissues.yml
T

63 lines
2.0 KiB
YAML

name: "Maintain old issues"
on:
schedule:
- cron: '0 0 * * *'
jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v3
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
days-before-stale: 60
days-before-close: 7
remove-stale-when-updated: true
exempt-issue-labels: 'pinned, security, enhancement, future release'
stale-issue-label: 'outdated'
stale-issue-message: >
This issue has been automatically marked as stale because it has
not had recent activity. It will be closed if no further activity
occurs. Thank you for your contributions.
exempt-pr-labels: 'pinned, security, enhancement, future release'
stale-pr-label: 'outdated'
stale-pr-message: >
This pull request has been automatically marked as stale because
it has not had recent activity. It will be closed if no further
activity occurs. Thank you for your contributions.
lock:
runs-on: ubuntu-latest
steps:
- uses: dessant/lock-threads@v2.0.0
with:
github-token: ${{ github.token }}
repo-token: ${{ secrets.GITHUB_TOKEN }}
issue-lock-inactive-days: '90'
issue-exclude-created-before: ''
issue-exclude-labels: 'future release'
issue-lock-labels: ''
# issue-lock-comment: >
# This issue tracker has been automatically locked since there
# has not been any recent activity after it was closed. Please
# open a new issue for related bugs.
# issue-lock-reason: 'resolved'
issue-lock-reason: ''
pr-lock-inactive-days: '90'
pr-exclude-created-before: ''
pr-exclude-labels: 'future release'
pr-lock-labels: ''
# pr-lock-comment: >
# This pull request has been automatically locked since there
# has not been any recent activity after it was closed. Please
# open a new issue for related bugs.
pr-lock-reason: ''
process-only: ''
debug-run: true