Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# This workflow warns and then closes issues and PRs that have had no activity for a specified amount of time.
#
# You can adjust the behavior by modifying this file.
# For more information, see:
# https://github.com/actions/stale
name: Mark stale issues and pull requests

on:
schedule:
- cron: '39 7 * * *'

jobs:
stale:

runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write

steps:
- uses: actions/stale@v5
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
stale-issue-message: 'Stale issue message'
stale-pr-message: 'Stale pull request message'
Comment on lines +24 to +25

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Replace placeholders before enabling automatic closure

For any issue or PR already inactive for 60 days, this scheduled workflow posts only the literal placeholder text and then closes the thread seven days later without a closing explanation; users therefore receive no warning that closure is pending or that activity resets the timer. These are the documented actions/stale@v5 defaults for the omitted timeout and close-message settings (action metadata). Replace these placeholders with an explicit deadline and recovery instructions, or disable automatic closing until suitable messaging is configured.

Useful? React with 👍 / 👎.

stale-issue-label: 'no-issue-activity'
stale-pr-label: 'no-pr-activity'
Loading