Skip to content

Mark stale issues and PRs #10

Mark stale issues and PRs

Mark stale issues and PRs #10

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 trigger
permissions:
issues: write
pull-requests: write
jobs:
stale:
runs-on: ubuntu-latest
steps:
- name: Mark stale issues and PRs
uses: actions/stale@v10
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
# Issues configuration
stale-issue-message: |
This issue has been automatically marked as stale because it has not had recent activity.
It will be closed if no further activity occurs. Thank you for your contributions.
close-issue-message: |
This issue was automatically closed because it has not had activity for an extended period.
days-before-issue-stale: 60
days-before-issue-close: 7
stale-issue-label: stale
exempt-issue-labels: "pinned,security,bug"
# Pull requests configuration
stale-pr-message: |
This pull request has been automatically marked as stale because it has not had recent activity.
It will be closed if no further activity occurs. Thank you for your contributions.
close-pr-message: |
This pull request was automatically closed because it has not had activity for an extended period.
days-before-pr-stale: 45
days-before-pr-close: 7
stale-pr-label: stale
exempt-pr-labels: "pinned,security,work-in-progress"
# General configuration
operations-per-run: 30
remove-stale-when-updated: true