Skip to content

Use GitHub Actions for writing a stale action #29232

Closed

Description

@trivikr

Is your feature request related to a problem? Please describe.
This came up in #28798 (comment) where we were planning to use stale bot

Describe the solution you'd like
Use GitHub Actions for writing a stale action (example)

Describe alternatives you've considered
Follow #28798 (comment)

Activity

  1. trivikr commented on Aug 20, 2019

    @trivikr
    MemberAuthor

    Configs discussed in #28798:

    • daysUntilStale: 60
    • daysUntilClose: 365

    To avoid too many stale notifications at once, use skipCreatedBefore config and update it as described in #28798 (comment)

  2. jasnell commented on Aug 20, 2019

    @jasnell
    Member

    Initially, I would go with a longer stale period. Let's say 90 to 120 days.

  3. trivikr commented on Aug 20, 2019

    @trivikr
    MemberAuthor

    The daysUntilStale value of 60 was guessed from the comment from @bnoordhuis in #28798 (comment)

    Empirically, I'd say that > 50% of issues that have been dormant for a month, stay dormant.

    The idea is post stale message every daysUntilStale days, till not activity (other than stale message) happens for daysUntilClose days - when issue/PR will be closed.

    We can update daysUntilStale to 90/120 if 60 is too low.

  4. added
    metaIssues and PRs related to the general management of the project.
    on Aug 20, 2019
  5. bnoordhuis commented on Aug 28, 2019

    @bnoordhuis
    Member

    I'm still +1 on this.

  6. targos commented on Aug 28, 2019

    @targos
    Member

    @trivikr I think you should go ahead and open a PR

  7. trivikr commented on Aug 28, 2019

    @trivikr
    MemberAuthor

    I just got access to GitHub Actions Beta, and will experiment with it over the Labour Day weekend 😄

  8. trivikr commented on Sep 6, 2019

    @trivikr
    MemberAuthor

    I couldn't play with GitHub Actions during Labour Day weekend, and friends planned another trip this weekend.
    I'll keep this open for another week, if anyone else wants to experiment.

  9. trivikr commented on Sep 13, 2019

    @trivikr
    MemberAuthor

    I'll be playing with GitHub actions over the weekend of 09/14

  10. trivikr commented on Sep 30, 2019

    @trivikr
    MemberAuthor

    Update: GitHub stale action is pretty new, and will need some time to get stable.

    For example, the support for exempt labels was added on Aug 27 in actions/stale#11
    Blog post describing experience with GitHub Actions https://evilmartians.com/chronicles/github-actions-first-impressions

  11. trivikr commented on Sep 30, 2019

    @trivikr
    MemberAuthor

    In Node.js core, we tried writing CI with GitHub Actions in #29193
    But decided to wait till Actions goes stable in November as described in #29193 (comment)

  12. trivikr commented on Oct 1, 2019

    @trivikr
    MemberAuthor

    GitHub just added a new workflow editor for Actions
    Details: https://github.blog/2019-10-01-new-workflow-editor-for-github-actions/

  13. Trott commented on Jan 28, 2022

    @Trott
    Member

    I'm going to close this because I don't think there's support for it. But if someone thinks I'm wrong and wants to try to work something up, please re-open or leave a comment (or jump right to the open-a-pull-request option).

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

    metaIssues and PRs related to the general management of the project.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions