Skip to content

Draft PR's timer should start from when it was marked as ready instead of PR creation #1115

Open

Description

@rachaelparris

Description:
Draft PRs can be set as exempt in the action config. If that is set along with ignore-updates, then once a draft PR is marked as ready, its timer should start from the date it was marked as ready instead of its creation date.

Example config:

      - uses: actions/stale@v8
        with:
          ignore-pr-updates: true
          exempt-draft-pr: true
          days-before-stale: 10
          days-before-close: -1
          days-before-issue-stale: -1
          remove-stale-when-updated: false

Justification:
We are using this action to mark PRs that have been open for a while and need prioritized review. We skip draft PRs because they're not ready for review. A PR could be in draft for a few weeks and then marked as ready. It shouldn't be marked in need of prioritized review until it's been ready for the specified time.

Are you willing to submit a PR?
yes

Activity

  1. marko-zivic-93 commented on Dec 7, 2023

    @marko-zivic-93
    Contributor

    Hello @rachaelparris
    Thank you for creating this issue. We will investigate it and come back to you as soon as we have some updates.

  2. alexremn commented on Dec 18, 2024

    @alexremn

    Good day!

    Any progress on this?

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

    feature requestNew feature or request to improve the current logic

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions