xref: /optee_os/.github/workflows/stales.yml (revision 827be46c173f31c57006af70ca3a15a5b1a7fba3)
1name: 'Close stale issues and pull requests with no recent activity'
2on:
3  schedule:
4  - cron: "15 00 * * *"
5
6jobs:
7  stale:
8    runs-on: ubuntu-latest
9    steps:
10    - uses: actions/stale@v3.0.7
11
12      with:
13        repo-token: ${{ secrets.GITHUB_TOKEN }}
14        stale-issue-message: 'This issue has been marked as a stale issue because it has been open (more than) 30 days with no activity. Remove the stale label or add a comment, otherwise this issue will automatically be closed in 5 days. Note, that you can always re-open a closed issue at any time.'
15        stale-pr-message: 'This pull request has been marked as a stale pull request because it has been open (more than) 30 days with no activity. Remove the stale label or add a comment, otherwise this pull request will automatically be closed in 5 days. Note, that you can always re-open a closed issue at any time.'
16        stale-issue-label: Stale
17        stale-pr-label: Stale
18        exempt-issue-labels: bug,enhancement
19        exempt-pr-labels: bug,enhancement
20        days-before-stale: 30
21        days-before-close: 5
22        remove-stale-when-updated: true
23