-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🧹 Add stale issues/PRs action, update releaser config for new labels (#…
…353)
- Loading branch information
Showing
3 changed files
with
87 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
--- | ||
name: Bug report | ||
about: Create a report to help us fix the issue | ||
title: '' | ||
labels: '' | ||
assignees: '' | ||
--- | ||
<!-- | ||
## Reach out to Percy support instead? | ||
If you’re having issues that _aren’t SDK bugs_, it would be best for you to | ||
reach out to support instead: support@percy.io or | ||
https://www.browserstack.com/contact#technical-support | ||
--> | ||
|
||
## The problem | ||
|
||
Briefly describe the issue you are experiencing (or the feature you want to see | ||
added to Percy). Tell us what you were trying to do and what happened | ||
instead. Remember, this is _not_ a place to ask questions. For that, go to | ||
https://github.com/percy/cli/discussions/new | ||
|
||
## Environment | ||
|
||
- Node version: | ||
- `@percy/cli` version: | ||
- Version of Percy SDK you’re using: | ||
- If needed, a build or snapshot ID: | ||
- OS version: | ||
- Type of shell command-line [interface]: | ||
|
||
## Details | ||
|
||
If necessary, describe the problem you have been experiencing in more detail. | ||
|
||
## Debug logs | ||
|
||
If you are reporting a bug, _always_ include logs! Run a Percy build with | ||
`--verbose` to get the full debug logs. You can also set an environment var | ||
`PERCY_LOGLEVEL=debug` to get debug logs. For example, `percy exec --verbose -- | ||
[test command]`. Please include the full complete test output. | ||
|
||
## Code to reproduce issue | ||
|
||
Given the nature of testing/environment bugs, it’s best to try and isolate the | ||
issue in a reproducible repo. This will make it much easier for us to diagnose | ||
and fix. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
name: 'Close stale issues and PRs' | ||
on: | ||
schedule: | ||
- cron: '0 19 * * 2' | ||
|
||
jobs: | ||
stale: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/stale@v4 | ||
with: | ||
stale-issue-message: >- | ||
This issue is stale because it has been open for more than 14 days with no activity. | ||
Remove stale label or comment or this will be closed in 14 days. | ||
stale-pr-message: >- | ||
This PR is stale because it has been open for more than 14 days with no activity. | ||
Remove stale label or comment or this will be closed in 14 days. | ||
close-issue-message: >- | ||
This issue was closed because it has been stalled for 28 days with no activity. | ||
close-pr-message: >- | ||
This PR was closed because it has been stalled for 28 days with no activity. | ||
days-before-issue-stale: 14 | ||
days-before-pr-stale: 14 | ||
# close 14 days _after_ initial warning | ||
days-before-issue-close: 14 | ||
days-before-pr-close: 14 | ||
exempt-pr-labels: '❄️ on ice' | ||
exempt-issue-labels: '🐛 bug,❄️ on ice,✨ enhancement' | ||
exempt-all-assignees: true | ||
stale-pr-label: '🍞 stale' |