Mark stale issues and pull requests #1511
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |