David PHAM-VAN

Add stale action

  1 +name: "Close stale issues"
  2 +
  3 +on:
  4 + schedule:
  5 + - cron: "0 0 * * *"
  6 +
  7 +jobs:
  8 + stale:
  9 + runs-on: ubuntu-latest
  10 + steps:
  11 + - uses: actions/stale@v3
  12 + with:
  13 + repo-token: ${{ secrets.GITHUB_TOKEN }}
  14 + stale-issue-message: "This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days"
  15 + close-issue-message: "Closing this stale issue because it has no activity."
  16 + days-before-stale: 20
  17 + days-before-close: 5
  18 + exempt-issue-labels: "needs triage,help wanted,enhancement,bug"