Skip to content

Add labels-to-remove-when-stale optionΒ #770

Open

Description

@arnodirlam

The problem

We have a workflow where a deploy label triggers the deployment of a dedicated test environment on AWS via Terraform (like Heroku's "review apps"). When it's removed, the test environment is destroyed. We'd like to keep this flow, but automatically removed the label when the PR becomes stale. Right now, there's only an option to add/remove labels when a PR becomes unstale.

The solution

Please add an option labels-to-remove-when-stale.

Basically like the existing labels-to-remove-when-unstale but triggering when the issue/PR becomes stale (not when it becomes unstale).

Thank you very much for your great work! πŸ™

Activity

  1. mulhotavares commented on Aug 24, 2022

    @mulhotavares

    That would be interesting.
    When a PR comes stale, there are labels that we want to remove automatically.

  2. ge65cer commented on Oct 18, 2022

    @ge65cer

    +1

  3. Lasim commented on Nov 14, 2022

    @Lasim

    +1

  4. panticmilos commented on Mar 22, 2023

    @panticmilos
    Contributor

    hi @arnodirlam, we have released a new major version of the action that is including your feature request.

    Could you confirm it is working as expected?

  5. added
    need eyesFeature request needs additional triaging by leads
    on Aug 9, 2023
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

    enhancementNew feature or requestkeepneed eyesFeature request needs additional triaging by leads

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions