Skip to content

Allow option to exclude weekends from total time #564

Closed
@cschear

Description

@cschear

The problem

We would like to keep the total time open pretty low - but weekends cause items to be flagged early. For example we would like it to be 3 weekdays - but currently a PR opened on Friday would be stale on Monday.

The solution

Allow an option to exclude weekends from the total time open.

Activity

cschear

cschear commented on Sep 12, 2021

@cschear
Author

Maybe using something like this:
https://stackoverflow.com/a/21465288

luketomlinson

luketomlinson commented on Sep 22, 2021

@luketomlinson
Collaborator

Hi @cschear thanks for opening an issue. I am not sure that such a specific special case is the best path forward for this action. My worry is that once we start special casing for weekends it might spiral into many special cases (weekends, holidays, leap years, etc).

That being said, I'll leave this issue open for a bit to see if there is a larger desire for this feature and maybe we can reevaluate if there is a large demand for this feature.

rkdrnf

rkdrnf commented on Oct 14, 2021

@rkdrnf

Also need this feature. We also trying to maintain low stale time (2 or 3days) but because of weekends counted, we are using 4 days instead now.

Counting holidays as working days wouldn't much matter because those are relatively rare cases.

github-actions

github-actions commented on Nov 14, 2021

@github-actions
Contributor

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

shreyasbharath

shreyasbharath commented on Aug 21, 2023

@shreyasbharath

Can we revive this please? It's a pretty basic use case

irm-codebase

irm-codebase commented on Jan 8, 2024

@irm-codebase

I think this should be re-considered. At least weekends. It's absolutely crucial for most companies or projects in order to avoid mistakes.

charleseasyvest

charleseasyvest commented on Jul 18, 2024

@charleseasyvest

I also vote for this feature

samgdotson

samgdotson commented on Sep 3, 2024

@samgdotson

Seems like it should be the default.

whartley94

whartley94 commented on Oct 30, 2024

@whartley94

Bump. I vote!

6 remaining items

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      Participants

      @rkdrnf@cschear@shreyasbharath@luketomlinson@whartley94

      Issue actions

        Allow option to exclude weekends from total time · Issue #564 · actions/stale