-
Notifications
You must be signed in to change notification settings - Fork 1
refactor(release): refactoring release process a bit. #3
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,93 @@ | ||
--- | ||
name: Bug report | ||
about: Create a report to help us improve | ||
title: "[BUG]" | ||
labels: bug | ||
assignees: '' | ||
body: | ||
- type: markdown | ||
attributes: | ||
value: | | ||
Thanks for taking the time to fill out this bug report! | ||
- type: textarea | ||
id: description | ||
attributes: | ||
label: Describe the bug | ||
description: A clear and concise description of what the bug is. | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: reproduce | ||
attributes: | ||
label: To Reproduce | ||
description: Steps to reproduce the behavior | ||
placeholder: | | ||
1. Use function/method '...' | ||
2. With parameters '...' | ||
3. See error | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: expected | ||
attributes: | ||
label: Expected behavior | ||
description: A clear and concise description of what you expected to happen. | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: code | ||
attributes: | ||
label: Code Example | ||
description: If applicable, add a minimal code example to help explain your problem. | ||
render: go | ||
placeholder: | | ||
// Your code here | ||
validations: | ||
required: false | ||
- type: input | ||
id: go-version | ||
attributes: | ||
label: Go Version | ||
description: Which Go version are you using? | ||
placeholder: e.g., 1.21.0 | ||
validations: | ||
required: true | ||
- type: input | ||
id: package-version | ||
attributes: | ||
label: Package version | ||
placeholder: e.g., v1.0.0 | ||
validations: | ||
required: true | ||
- type: input | ||
id: go-redis-version | ||
attributes: | ||
label: go-redis Version | ||
description: Which version of go-redis are you using? | ||
placeholder: e.g., v9.0.5 | ||
validations: | ||
required: true | ||
- type: input | ||
id: redis-server-version | ||
attributes: | ||
label: Redis Server Version | ||
description: Which Redis server version are you using? | ||
placeholder: e.g., 7.2.1 | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: environment | ||
attributes: | ||
label: Additional environment details | ||
description: Any other relevant environment information (OS, configuration, etc.) | ||
placeholder: More details about your environment | ||
validations: | ||
required: false | ||
- type: textarea | ||
id: context | ||
attributes: | ||
label: Additional context | ||
description: Add any other context about the problem here. | ||
validations: | ||
required: false | ||
--- |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
blank_issues_enabled: false | ||
contact_links: | ||
- name: Documentation | ||
url: https://github.com/redis/go-redis-entraid/blob/main/README.md | ||
about: Check if your issue is already addressed in the documentation. | ||
- name: go-redis repository | ||
url: https://github.com/redis/go-redis | ||
about: For issues related to the Redis client itself, please file an issue in the go-redis repository. | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
--- | ||
name: Feature request | ||
about: Suggest an idea for this project | ||
title: "[FEATURE]" | ||
labels: enhancement | ||
assignees: '' | ||
body: | ||
- type: markdown | ||
attributes: | ||
value: | | ||
Thanks for taking the time to suggest a new feature! | ||
- type: textarea | ||
id: problem | ||
attributes: | ||
label: Is your feature request related to a problem? | ||
description: A clear and concise description of what the problem is. | ||
placeholder: I'm always frustrated when [...] | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: solution | ||
attributes: | ||
label: Describe the solution you'd like | ||
description: A clear and concise description of what you want to happen. | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: alternatives | ||
attributes: | ||
label: Describe alternatives you've considered | ||
description: A clear and concise description of any alternative solutions or features you've considered. | ||
validations: | ||
required: false | ||
- type: textarea | ||
id: context | ||
attributes: | ||
label: Additional context | ||
description: Add any other context or code examples about the feature request here. | ||
placeholder: | | ||
```go | ||
// Optional code example | ||
``` | ||
validations: | ||
required: false | ||
--- |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
name-template: 'v$RESOLVED_VERSION' | ||
tag-template: 'v$RESOLVED_VERSION' | ||
categories: | ||
- title: '🚀 Features' | ||
labels: | ||
- 'feature' | ||
- 'enhancement' | ||
- title: '🐛 Bug Fixes' | ||
labels: | ||
- 'fix' | ||
- 'bugfix' | ||
- 'bug' | ||
- title: '🧰 Maintenance' | ||
labels: | ||
- 'chore' | ||
- 'documentation' | ||
- 'refactor' | ||
- 'test' | ||
change-template: '- $TITLE @$AUTHOR (#$NUMBER)' | ||
version-resolver: | ||
major: | ||
labels: | ||
- 'major' | ||
- 'breaking' | ||
minor: | ||
labels: | ||
- 'minor' | ||
- 'feature' | ||
- 'enhancement' | ||
patch: | ||
labels: | ||
- 'patch' | ||
- 'bug' | ||
- 'bugfix' | ||
- 'fix' | ||
- 'chore' | ||
- 'documentation' | ||
default: patch | ||
template: | | ||
## Changes | ||
|
||
$CHANGES | ||
|
||
## Contributors | ||
|
||
$CONTRIBUTORS |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
name: Release Drafter | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. [nitpick] Consider adding a brief comment or linking to higher-level docs explaining how this workflow fits into the overall release and versioning process. Copilot uses AI. Check for mistakes. Positive FeedbackNegative Feedback |
||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
# Allows you to run this workflow manually from the Actions tab | ||
workflow_dispatch: | ||
|
||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
update_release_draft: | ||
permissions: | ||
# write permission is required to create a github release | ||
contents: write | ||
# write permission is required for autolabeler | ||
pull-requests: write | ||
|
||
runs-on: ubuntu-latest | ||
steps: | ||
# Drafts your next Release notes as Pull Requests are merged into "main" | ||
- uses: release-drafter/release-drafter@v5 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
This file was deleted.
This file was deleted.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[nitpick] Having two release-drafter configuration files in different directories may be confusing; consider consolidating them or documenting their distinct roles.
Copilot uses AI. Check for mistakes.