mirror of
https://github.com/kopia/kopia.git
synced 2026-03-11 02:36:39 -04:00
28 lines
908 B
YAML
28 lines
908 B
YAML
name: 'Manage stale issues and pull requests'
|
|
|
|
permissions:
|
|
issues: write
|
|
pull-requests: write
|
|
|
|
on:
|
|
schedule:
|
|
# Sundays and Wednesdays at 8:17 p.m. UTC
|
|
- cron: '17 20 * * 0,3'
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
stale:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/stale@28ca1036281a5e5922ead5184a1bbf96e5fc984e # v9.0.0
|
|
with:
|
|
# process older PRs first
|
|
ascending: true
|
|
operations-per-run: 100
|
|
stale-issue-label: 'stale'
|
|
stale-pr-label: 'stale'
|
|
exempt-issue-labels: 'bug,keep-open'
|
|
exempt-pr-labels: 'keep-open'
|
|
close-issue-message: 'Closed due to inactivity. Re-open and remove "stale" label if it should remain open for an additional period of time'
|
|
close-pr-message: 'Closed due to inactivity. Re-open and remove "stale" label if it should remain open for an additional period of time'
|