xref: /optee_os/.github/workflows/stales.yml (revision 50bbda3dd3b2397d27b5dd74a78567203821fa43)
1*50bbda3dSJoakim Bechname: 'Close stale issues and pull requests'
2*50bbda3dSJoakim Bechdescription: 'Close issues and pull requests with no recent activity'
3*50bbda3dSJoakim Bechon:
4*50bbda3dSJoakim Bech  schedule:
5*50bbda3dSJoakim Bech  - cron: "15 00 * * *"
6*50bbda3dSJoakim Bech
7*50bbda3dSJoakim Bechjobs:
8*50bbda3dSJoakim Bech  stale:
9*50bbda3dSJoakim Bech    runs-on: ubuntu-latest
10*50bbda3dSJoakim Bech    steps:
11*50bbda3dSJoakim Bech    - uses: actions/stale@v3.0.7
12*50bbda3dSJoakim Bech
13*50bbda3dSJoakim Bech      with:
14*50bbda3dSJoakim Bech        repo-token: ${{ secrets.GITHUB_TOKEN }}
15*50bbda3dSJoakim Bech        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.'
16*50bbda3dSJoakim Bech        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.'
17*50bbda3dSJoakim Bech        stale-issue-label: Stale
18*50bbda3dSJoakim Bech        stale-pr-label: Stale
19*50bbda3dSJoakim Bech        exempt-issue-labels: bug,enhancement
20*50bbda3dSJoakim Bech        exempt-pr-labels: bug,enhancement
21*50bbda3dSJoakim Bech        days-before-stale: 30
22*50bbda3dSJoakim Bech        days-before-close: 5
23*50bbda3dSJoakim Bech        remove-stale-when-updated: true
24