Skip to content

Conversation

@sankaritan
Copy link

Add a wofklow to automatically label and then close stale issues and PRs.

Mimicking the flow from Backstage with small differences:

  • Bumped the version of workflow action to the latest
  • Set only two labels to be exempt from the workflow - after-vacation and will-fix. This is to either mark things as to be looked at after the vacation of the core Spotify maintainer team or to mark things as to be fixed even if the resolution is not expected to come immediately.
  • Extended PR close label to 2 weeks and close time to 1 week

Copy link
Contributor

@dlochrie dlochrie left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

days-before-pr-close: 7
exempt-pr-labels: after-vacations,will-fix
stale-pr-label: stale
operations-per-run:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this property need a value, or can it be excluded?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

you spotted an issue! thanks, will update

@agentbellnorm agentbellnorm merged commit bd5c29c into backstage:main Aug 25, 2023
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

Successfully merging this pull request may close these issues.

4 participants