2023-02-13 19:21:07 +00:00
|
|
|
name: Cron - mark stale for inactive issues
|
|
|
|
|
|
|
|
permissions:
|
|
|
|
issues: write
|
2023-04-20 18:49:52 +00:00
|
|
|
pull-requests: write
|
2023-02-13 19:21:07 +00:00
|
|
|
|
|
|
|
on:
|
|
|
|
# "Scheduled workflows run on the latest commit on the default or base branch."
|
|
|
|
# — https://docs.github.com/en/actions/learn-github-actions/events-that-trigger-workflows#schedule
|
|
|
|
schedule:
|
|
|
|
# Runs every day (see https://crontab.guru)
|
|
|
|
- cron: "0 0 * * *"
|
2023-06-28 13:10:03 +00:00
|
|
|
workflow_dispatch:
|
2023-02-13 19:21:07 +00:00
|
|
|
jobs:
|
|
|
|
stale:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- uses: actions/stale@v7
|
|
|
|
with:
|
2023-04-11 20:39:53 +00:00
|
|
|
days-before-issue-stale: 60
|
|
|
|
days-before-issue-close: -1
|
|
|
|
days-before-pr-stale: 14
|
|
|
|
days-before-pr-close: 7
|
|
|
|
stale-pr-message: "This PR is being marked as stale due to inactivity."
|
2023-04-15 11:49:16 +00:00
|
|
|
close-pr-message: "This PR is being closed due to inactivity. Please reopen if work is intended to be continued."
|
2023-06-28 13:10:03 +00:00
|
|
|
operations-per-run: 100
|