29 lines
936 B
YAML
29 lines
936 B
YAML
name: Mark stale issues
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
schedule:
|
|
- cron: "30 1 * * *"
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
stale:
|
|
if: github.repository == 'frrouting/frr'
|
|
permissions:
|
|
issues: write
|
|
pull-requests: write
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/stale@v5
|
|
with:
|
|
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
|
stale-issue-message: 'This issue is stale because it has been open 180 days with no activity. Comment or remove the `autoclose` label in order to avoid having this issue closed.'
|
|
stale-issue-label: autoclose
|
|
stale-pr-message: 'This PR is stale because it has been open 180 days with no activity. Comment or remove the `autoclose` label in order to avoid having this PR closed.'
|
|
stale-pr-label: autoclose
|
|
days-before-stale: 180
|
|
days-before-close: 194
|
|
days-before-pr-stale: 180
|
|
days-before-pr-close: 194
|