Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
nmpelham opened this issue Feb 7, 2023 · 2 comments

Comments

@nmpelham
Copy link

nmpelham commented Feb 7, 2023

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!

@hamza-shezad
Copy link

hamza-shezad commented May 15, 2023

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?

@fbradyirl
Copy link

Still an issue it seems?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants