stale.yml

1name: Mark stale issues and pull requests
2
3on:
4  schedule:
5    # This cron expression schedules the workflow to run daily at 13:34 UTC
6    - cron: '34 13 * * *'
7
8jobs:
9  stale:
10    runs-on: ubuntu-latest
11
12    permissions:
13      issues: write
14      pull-requests: write
15
16    steps:
17      - uses: actions/stale@v5
18        with:
19          repo-token: ${{ secrets.GITHUB_TOKEN }}
20          stale-issue-message: 'This issue has been automatically marked as stale due to inactivity. If no further activity occurs, it will be closed.'
21          stale-pr-message: 'This pull request has been automatically marked as stale due to inactivity. If no further activity occurs, it will be closed.'
22          stale-issue-label: 'stale'
23          stale-pr-label: 'stale'
24