stale.yml 1.5 KB
Newer Older
1
name: Mark/Close stale issues and pull requests
2 3
on:
  schedule:
4
    - cron: "0 * * * *" # Run every hour
5 6 7 8
jobs:
  stale:
    runs-on: ubuntu-latest
    steps:
9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
      - uses: actions/stale@v3
        with:
          repo-token: ${{ secrets.GITHUB_TOKEN }}
          days-before-stale: 30
          days-before-close: 7
          stale-issue-message: >
            This issue has been automatically marked as stale because it has not had
            recent activity. It will be closed if no further activity occurs. Thank you
            for your contributions.
          close-issue-message: >
            Please reopen this issue once you add more information and updates here.
            If this is not the case and you need some help, feel free to seek help
            from our [Gitter](https://gitter.im/TheAlgorithms) or ping one of the
            reviewers. Thank you for your contributions!
          stale-pr-message: >
            This pull request has been automatically marked as stale because it has not had
            recent activity. It will be closed if no further activity occurs. Thank you
            for your contributions.
          close-pr-message: >
            Please reopen this pull request once you commit the changes requested
            or make improvements on the code. If this is not the case and you need
            some help, feel free to seek help from our [Gitter](https://gitter.im/TheAlgorithms)
            or ping one of the reviewers. Thank you for your contributions!