mergeable icon indicating copy to clipboard operation
mergeable copied to clipboard

Issue with Stale Validator || Does not seem to be detecting whether PR is stale?

Open nmpelham opened this issue 2 years ago • 3 comments

When trying to use the stale feature. There seems to be an issue as the PR does not get labeled as stale despite there being the specified amount of time with no activity on the PR. The schedule.repository works in other places throughout the repo, so I am not sure as to why this isn't functioning

image

Thank you!

nmpelham avatar Feb 07 '23 23:02 nmpelham

also experiencing this. following is stale configuration i am using:

  - when: schedule.repository
    name: Comment on stale pull requests
    validate:
      - do: stale
        days: 30
        type: pull_request
        ignore_drafts: true
        time_constraint:
          time_zone: Asia/Karachi
    pass:
      - do: comment
        payload:
          body: This pull request has not been updated in the last 30 days. Closing after 7 days.
      - do: labels
        add: "test:Stale"

how often are the scheduled tasks run?

hamza-shezad avatar May 15 '23 09:05 hamza-shezad

Still an issue it seems?

fbradyirl avatar Feb 23 '24 11:02 fbradyirl

I have the same issue. It seemed that it didn't get executed for a long time. What's the interval of the execution for event schedule.repository?

fredchen306 avatar Jun 19 '24 09:06 fredchen306