Skip to content

Public Repo Stale Check workflow incorrectly closes PRs right after adding stale label instead of after 3 days #36568

Closed as not planned
@rakleed

Description

@rakleed

Code of Conduct

What article on docs.github.com is affected?

https://github.com/github/docs/blob/main/.github/workflows/triage-stale-check.yml

What changes are you suggesting?

You can see it, for example, here: #35028 (comment) — the label stale is added, and then immediately the PR closes. Although, according to the description and judging by the code, this should happen 3 days after that:

stale-pr-message: 'A stale label has been added to this pull request because it has been open 7 days with no activity. To keep this PR open, add a comment or push a commit within 3 days.'
days-before-pr-stale: 7
days-before-pr-close: 3

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    contentThis issue or pull request belongs to the Docs Content teamtriageDo not begin working on this issue until triaged by the team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions