Skip to content

Commit

Permalink
Merge pull request #23111 from storybookjs/issue-workflow-actions
Browse files Browse the repository at this point in the history
Build tooling: Add stale-bot action
  • Loading branch information
shilman authored Jul 4, 2023
2 parents d4a3a23 + 41fe9f4 commit bee4f4d
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ body:
attributes:
label: To Reproduce
description: >-
Please create a reproduction using [storybook.new](https://storybook.new), or by running `npx sb@next sandbox` and
We prioritize bug reports that have a reproduction. You can create a reproduction using [storybook.new](https://storybook.new), or by running `npx sb@next sandbox` and
following the instructions. Read our
[documentation](https://storybook.js.org/docs/react/contribute/how-to-reproduce)
to learn more about creating reproductions.
Expand Down
18 changes: 18 additions & 0 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: 'Close stale issues that need reproduction or more info from OP'
on:
schedule:
- cron: '30 1 * * *'

jobs:
stale:
runs-on: ubuntu-latest
steps:
- uses: actions/stale@v8
with:
stale-issue-message: "Hi there! Thank you for opening this issue, but it has been marked as `stale` because we need more information to move forward. Could you please provide us with the requested reproduction or additional information that could help us better understand the problem? We'd love to resolve this issue, but we can't do it without your help!"
close-issue-message: "I'm afraid we need to close this issue for now, since we can't take any action without the requested reproduction or additional information. But please don't hesitate to open a new issue if the problem persists – we're always happy to help. Thanks so much for your understanding."
any-of-labels: 'needs reproduction,needs more info'
exempt-issue-labels: 'needs triage'
labels-to-add-when-unstale: 'needs triage'
days-before-stale: 21
days-before-pr-stale: -1

0 comments on commit bee4f4d

Please sign in to comment.