xref: /optee_os/.github/workflows/stales.yml (revision 3edbed4e001d69d37cf7c12da02d572266d0e60e)
1cd1c6d65SJerome Forissiername: 'Close stale issues and pull requests with no recent activity'
250bbda3dSJoakim Bechon:
350bbda3dSJoakim Bech  schedule:
450bbda3dSJoakim Bech  - cron: "15 00 * * *"
550bbda3dSJoakim Bech
61195d0ddSJoakim Bechpermissions:
71195d0ddSJoakim Bech  issues: write
81195d0ddSJoakim Bech  pull-requests: write
91195d0ddSJoakim Bech
1050bbda3dSJoakim Bechjobs:
1150bbda3dSJoakim Bech  stale:
1250bbda3dSJoakim Bech    runs-on: ubuntu-latest
1350bbda3dSJoakim Bech    steps:
14*3edbed4eSJerome Forissier    - uses: actions/stale@v10.0.0
1550bbda3dSJoakim Bech      with:
1650bbda3dSJoakim Bech        repo-token: ${{ secrets.GITHUB_TOKEN }}
1750bbda3dSJoakim 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.'
1850bbda3dSJoakim 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.'
1950bbda3dSJoakim Bech        stale-issue-label: Stale
2050bbda3dSJoakim Bech        stale-pr-label: Stale
2150bbda3dSJoakim Bech        exempt-issue-labels: bug,enhancement
2250bbda3dSJoakim Bech        exempt-pr-labels: bug,enhancement
2350bbda3dSJoakim Bech        days-before-stale: 30
2450bbda3dSJoakim Bech        days-before-close: 5
2550bbda3dSJoakim Bech        remove-stale-when-updated: true
261195d0ddSJoakim Bech        remove-issue-stale-when-updated: true
271195d0ddSJoakim Bech        remove-pr-stale-when-updated: true
28