stale icon indicating copy to clipboard operation
stale copied to clipboard

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

Open rachaelparris opened this issue 1 year ago • 1 comments

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

rachaelparris avatar Dec 06 '23 18:12 rachaelparris

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

marko-zivic-93 avatar Dec 07 '23 12:12 marko-zivic-93