juaml / julearn

Forschungszentrum Jülich Machine Learning Library
https://juaml.github.io/julearn
GNU Affero General Public License v3.0
30 stars 19 forks source link

[CI]: Mark stale and close issues after inactivity #224

Closed fraimondo closed 8 months ago

fraimondo commented 1 year ago

Which feature do you want to include?

Use this action: https://github.com/marketplace/actions/close-stale-issues

To mark issues as stale and later on close them if they have the label question (meaning waiting for a response) and they were not replied in 30 days (stale) and then close (7 more days).

How do you imagine this integrated in julearn?

name: 'Close stale issues and PRs'
on:
  schedule:
    - cron: '30 1 * * *'

jobs:
  stale:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/stale@v8
        with:
          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 7 days.'
          days-before-stale: 30
          days-before-close: 7
          any-of-issue-labels: question

Do you have a sample code that implements this outside of julearn?

No response

Anything else to say?

No response

codecov[bot] commented 8 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 92.49%. Comparing base (d1f915e) to head (53b8bcb).

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/juaml/julearn/pull/224/graphs/tree.svg?width=650&height=150&src=pr&token=VT2P05ZJCB&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=juaml)](https://app.codecov.io/gh/juaml/julearn/pull/224?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=juaml) ```diff @@ Coverage Diff @@ ## main #224 +/- ## ======================================= Coverage 92.49% 92.49% ======================================= Files 56 56 Lines 2679 2679 Branches 482 482 ======================================= Hits 2478 2478 Misses 129 129 Partials 72 72 ``` | [Flag](https://app.codecov.io/gh/juaml/julearn/pull/224/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=juaml) | Coverage Δ | | |---|---|---| | [docs](https://app.codecov.io/gh/juaml/julearn/pull/224/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=juaml) | `100.00% <ø> (ø)` | | | [julearn](https://app.codecov.io/gh/juaml/julearn/pull/224/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=juaml) | `92.49% <ø> (ø)` | | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=juaml#carryforward-flags-in-the-pull-request-comment) to find out more.
github-actions[bot] commented 8 months ago

PR Preview Action v1.4.7 :---: Preview removed because the pull request was closed. 2024-03-06 16:54 UTC