Skip to content

Mark Stale Issues and PRs #287

Mark Stale Issues and PRs

Mark Stale Issues and PRs #287

Workflow file for this run

name: Mark Stale Issues and PRs
on:
schedule:
- cron: '0 0 * * *' # Run daily at midnight UTC
workflow_dispatch: # Allow manual triggering
permissions:
issues: write
pull-requests: write
jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v8
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
# Issues configuration
days-before-issue-stale: 60
days-before-issue-close: 14
stale-issue-label: 'stale'
exempt-issue-labels: 'good first issue,help wanted,bug,security,enhancement,documentation'
stale-issue-message: |
👋 This issue has been automatically marked as stale because it has not had recent activity.
It will be closed in 14 days if no further activity occurs.
If this issue is still relevant, please:
- Add a comment explaining why this should remain open
- Provide any additional context or information
- Remove the 'stale' label
Thank you for your contributions to Travel Logger! 🌍
close-issue-message: |
🔒 This issue has been automatically closed due to inactivity.
If this issue is still relevant, please feel free to reopen it or create a new issue with updated information.
Thank you for helping improve Travel Logger! 🚀
# Pull Requests configuration
days-before-pr-stale: 30
days-before-pr-close: 14
stale-pr-label: 'stale'
exempt-pr-labels: 'work in progress,blocked,security'
stale-pr-message: |
👋 This pull request has been automatically marked as stale because it has not had recent activity.
It will be closed in 14 days if no further activity occurs.
If this PR is still being worked on, please:
- Push new commits or updates
- Add a comment with the current status
- Remove the 'stale' label
Thank you for your contribution to Travel Logger! 🌟
close-pr-message: |
🔒 This pull request has been automatically closed due to inactivity.
If you'd like to continue working on this, please feel free to reopen the PR or create a new one.
Thank you for contributing to Travel Logger! 🚀
# General configuration
ascending: true
operations-per-run: 100
remove-stale-when-updated: true
debug-only: false