Skip to content

Commit

Permalink
Merge branch 'develop' into feat/724
Browse files Browse the repository at this point in the history
  • Loading branch information
Sidsector9 committed Mar 29, 2024
2 parents 754bd94 + 3d70db4 commit a1d3a7d
Show file tree
Hide file tree
Showing 3 changed files with 48 additions and 28 deletions.
Original file line number Diff line number Diff line change
@@ -1,30 +1,36 @@
name: No Response
name: 'Close stale issues'

# **What it does**: Closes issues where the original author doesn't respond to a request for information.
# **Why we have it**: To remove the need for maintainers to remember to check back on issues periodically to see if contributors have responded.
# **Who does it impact**: Everyone that works on docs or docs-internal.

on:
issue_comment:
types: [created]
schedule:
# Schedule for five minutes after the hour, every hour
- cron: '5 * * * *'
# Schedule for every day at 1:30am UTC
- cron: '30 1 * * *'

permissions:
issues: write

jobs:
noResponse:
stale:
runs-on: ubuntu-latest
steps:
- uses: lee-dohm/no-response@v0.5.0
- uses: actions/stale@v9
with:
token: ${{ github.token }}
daysUntilClose: 14 # Number of days of inactivity before an Issue is closed for lack of response
responseRequiredLabel: "reporter feedback" # Label indicating that a response from the original author is required
closeComment: >
days-before-stale: 7
days-before-close: 7
stale-issue-message: >
It has been 7 days since more information was requested from you in this issue and we have not heard back. This issue is now marked as stale and will be closed in 7 days, but if you have more information to add then please comment and the issue will stay open.
close-issue-message: >
This issue has been automatically closed because there has been no response
to our request for more information. With only the
information that is currently in the issue, we don't have enough information
to take action. Please reach out if you have or find the answers we need so
that we can investigate further. See [this blog post on bug reports and the
importance of repro steps](https://www.lee-dohm.com/2015/01/04/writing-good-bug-reports/)
for more information about the kind of information that may be helpful.
stale-issue-label: 'stale'
close-issue-reason: 'not_planned'
any-of-labels: 'reporter feedback'
remove-stale-when-updated: true

43 changes: 28 additions & 15 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,12 @@
"cypress-mochawesome-reporter": "^3.8.1",
"cypress-plugin-tab": "^1.0.5",
"husky": "^8.0.3",
"jsdoc": "^3.6.11",
"jsdoc": "^4.0.2",
"lint-staged": "^15.2.0",
"mochawesome-json-to-md": "^0.7.2",
"node-wp-i18n": "^1.2.7",
"svg-react-loader": "^0.4.6",
"taffydb": "2.7.3",
"wp-hookdoc": "^0.2.0"
},
"dependencies": {
Expand Down

0 comments on commit a1d3a7d

Please sign in to comment.