GenomicMedLab / software-templates

Cookiecutter templates for lab software projects
MIT License
0 stars 0 forks source link

cicd: update stalebot #42

Closed korikuzma closed 3 months ago

korikuzma commented 3 months ago
jsstevenson commented 3 months ago

@korikuzma Does this make bug also stale-exempt?

korikuzma commented 3 months ago

@korikuzma Does this make bug also stale-exempt?

@jsstevenson Not for this repo. I just used the default label stale-exempt. When other repos use the reusable-stale.yaml, they can have a job that specifies exempt labels and that can include bug if needed. However, I'm kind of hesitant about marking too many issues as stale exempt because it might reduce the effectiveness of stalebot. Sometimes issues labeled as bug have been completed, but have not been closed. So I think stale-exempt labels to be used sparingly. Open to other people's thoughts on this.

korikuzma commented 3 months ago

Another comment is for repos that have many issues without priority labels, we might want something like:

  stale-no-priority-labels:
    uses: ./.github/workflows/reusable-stale.yaml
    with:
      days-before-issue-stale: 90
      days-before-pr-stale: 7
      exempt-labels: stale-exempt,priority:low,priority:medium,priority:high