Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🧹 Add stale issues/PRs action, update releaser config for new labels #238

Merged
merged 1 commit into from
Jul 29, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
47 changes: 47 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
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.
22 changes: 10 additions & 12 deletions .github/release-drafter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,28 +3,26 @@ tag-template: 'v$RESOLVED_VERSION'
categories:
- title: '💥 Breaking Changes'
labels:
- breaking
- 💥 breaking
- title: '✨ Enhancements'
labels:
- feature
- enhancement
- ✨ enhancement
- title: '🐛 Bug Fixes'
labels:
- fix
- bugfix
- bug
- title: '🏗 Maintenance'
- 🐛 bug
- title: '🏗 Maintenance'
labels:
- chore
- dependencies
- 🧹 maintenance
- title: '⬆️⬇️ Dependency Updates'
labels:
- ⬆️⬇️ dependencies
change-title-escapes: '\<*_&#@'
version-resolver:
major:
labels:
- breaking
- 💥 breaking
minor:
labels:
- feature
- enhancement
- ✨ enhancement
default: patch
template: '$CHANGES'
30 changes: 30 additions & 0 deletions .github/workflows/stale.yml
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'