Skip to content

Mark stale issues and pull requests #1512

Mark stale issues and pull requests

Mark stale issues and pull requests #1512

Workflow file for this run

name: Mark stale issues and pull requests
on:
schedule:
- cron: "0 0 * * *" # This workflow will run daily at midnight UTC
jobs:
stale:
runs-on: ubuntu-latest # Specify the type of virtual machine to run the job
steps:
- name: Mark Stale Issues and PRs # Added step name for clarity
uses: actions/stale@v1 # Use the stale action
with:
repo-token: ${{ secrets.GITHUB_TOKEN }} # Token for repository access
stale-issue-message: 'This issue has been marked as stale due to inactivity. Please comment or update to keep it open.'
stale-pr-message: 'This pull request has been marked as stale due to inactivity. Please comment or update to keep it open.'
stale-issue-label: 'no-issue-activity' # Label to apply to stale issues
stale-pr-label: 'no-pr-activity' # Label to apply to stale pull requests