1name: "Close stale pull requests/issues"
2on:
3  schedule:
4  - cron: "16 00 * * *"
5
6jobs:
7  stale:
8    name: Find Stale issues and PRs
9    runs-on: ubuntu-22.04
10    if: github.repository == 'zephyrproject-rtos/zephyr'
11    steps:
12    - uses: actions/stale@v8
13      with:
14        stale-pr-message: 'This pull request has been marked as stale because it has been open (more
15          than) 60 days with no activity. Remove the stale label or add a comment saying that you
16          would like to have the label removed otherwise this pull request will automatically be
17          closed in 14 days. Note, that you can always re-open a closed pull request at any time.'
18        stale-issue-message: 'This issue has been marked as stale because it has been open (more
19          than) 60 days with no activity. Remove the stale label or add a comment saying that you
20          would like to have the label removed otherwise this issue will automatically be closed in
21          14 days. Note, that you can always re-open a closed issue at any time.'
22        days-before-stale: 60
23        days-before-close: 14
24        stale-issue-label: 'Stale'
25        stale-pr-label: 'Stale'
26        exempt-pr-labels: 'Blocked,In progress'
27        exempt-issue-labels: 'In progress,Enhancement,Feature,Feature Request,RFC,Meta,Process,Coverity'
28        operations-per-run: 400
29