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

Stale PRs not being closed? #23

Closed
foca opened this issue Sep 28, 2019 · 2 comments
Closed

Stale PRs not being closed? #23

foca opened this issue Sep 28, 2019 · 2 comments

Comments

@foca
Copy link

foca commented Sep 28, 2019

We have the action with this configuration:

    steps:
      - uses: actions/stale@v1
        with:
          repo-token: ${{ secrets.GITHUB_TOKEN }}
          days-before-stale: 13
          days-before-close: 1
          stale-pr-label: Stale
          stale-pr-message: "Pull request hasn't had any activity recently. Will be closed tomorrow if it remains like this."

The action has been running for a couple days, and yet none of the PRs marked as stale on the first day were closed on the second day:

Maybe I didn't understand how days-before-close is supposed to work, but isn't it supposed to close things 1 day after the Stale label was added?

(Just to note, there hasn't been any activity on those PRs since the action run)

@JJ
Copy link

JJ commented Nov 1, 2019

Is that the whole configuration? Did you include the schedule part?

@hross
Copy link
Contributor

hross commented Apr 16, 2020

Closing this unless we hear about schedule. You can also turn on actions debugging and use debug mode to troubleshoot:

#37 (comment)

@hross hross closed this as completed Apr 16, 2020
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