Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Syntax error in stale.yml GitHub Workflow #3217

@bertvandepoel

Description

@bertvandepoel

I was talking to a friend about how I have to check up on an issue here from time to time or it gets closed by the GitHub Actions bot. He thought this was weird, so he looked at https://github.com/rero/rero-ils/blob/staging/.github/workflows/stale.yml and remarked that there's a mistake in this file. The comment on https://github.com/rero/rero-ils/blob/staging/.github/workflows/stale.yml#L16 seems to imply the intention is to not close but just to mark stale issues. However, 0 is not the correct value for "days-before-close:". The correct value is false. Therefore, after 180 days, the bot marks the issue as stale and immediately also closes it. This is not intended behaviour, so stale.yml should be edited to fix the syntax error, either with true if the current behaviour is desired or, in my opinion ideally, false to reflect the intention of the comment and to prevent relevant bugs waiting for someone to fix them from being closed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    correctionAn implemented feature doesn't work as expected.developersFrom a developer point of view.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions