issue-management-stale-action.yml 1.0 KB

123456789101112131415161718192021222324252627
  1. name: Issue management - run stale action
  2. on:
  3. schedule:
  4. # hourly at minute 23
  5. - cron: "23 * * * *"
  6. jobs:
  7. stale:
  8. runs-on: ubuntu-latest
  9. steps:
  10. - uses: actions/stale@v8
  11. with:
  12. repo-token: ${{ secrets.GITHUB_TOKEN }}
  13. days-before-stale: 7
  14. days-before-close: 7
  15. only-labels: "needs author feedback"
  16. stale-issue-message: >
  17. This has been automatically marked as stale because it has been marked
  18. as needing author feedback and has not had any activity for 7 days.
  19. It will be closed automatically if there is no response from the author
  20. within 7 additional days from this comment.
  21. stale-pr-message: >
  22. This has been automatically marked as stale because it has been marked
  23. as needing author feedback and has not had any activity for 7 days.
  24. It will be closed automatically if there is no response from the author
  25. within 7 additional days from this comment.