Skip to content

Commit ec05e4a

Browse files
authored
Improve issue triage and issue template (#587)
Related to line/line-bot-sdk-ruby#597 - [x] create untriaged label
1 parent 6c0d94a commit ec05e4a

File tree

5 files changed

+119
-25
lines changed

5 files changed

+119
-25
lines changed
Lines changed: 23 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,38 @@
11
---
22
name: Bug Report Template
3-
about: for Bug Report
4-
title: Bug Report
5-
labels: bug
6-
assignees: k2wanko
7-
3+
about: Use this template to report bugs in the line-bot-sdk-go
4+
title: 'Bug Report'
85
---
96

10-
<!--
11-
## Do this before creating an issue
12-
13-
- Check our [developer documentation](https://developers.line.biz/en/docs/) and [FAQ](https://developers.line.biz/en/faq/) page for more information on LINE bots and the Messaging API
14-
15-
## When creating an issue
16-
17-
- Provide detailed information about the issue you had with the SDK as below
7+
<!--
8+
## Before Creating an Issue
9+
- Please check our [developer documentation](https://developers.line.biz/en/docs/) and [FAQ](https://developers.line.biz/en/faq/tags/messaging-api/) for more information on the Messaging API
10+
- Make sure the issue you are reporting isn't already addressed in the documentation or existing issues.
11+
## When Creating an Issue
12+
- Provide detailed information about the issue you experienced with the SDK using the template below.
1813
-->
1914

20-
## System Informations
21-
22-
* Go version:
23-
* OS:
15+
## System Information
16+
- OS: [e.g. Ubuntu]
17+
- Go Version [e.g. 1.24.3]
18+
- line-bot-sdk-go version(s) [e.g. 8.13.1]
2419

2520
## Expected Behavior
26-
<!-- Tell us what should happen -->
21+
<!-- Describe what you expected to happen -->
2722

2823
## Current Behavior
29-
<!-- Tell us what happens instead of the expected behavior -->
24+
<!-- Describe what actually happened instead of the expected behavior -->
3025

3126
## Steps to Reproduce
32-
<!-- Provide a link to a live example, or an unambigeous set of steps to -->
33-
1.
34-
1.
35-
1.
27+
<!-- Provide a link to a live example or a clear set of steps to reproduce the issue.
28+
If possible, provide minimal code (e.g. test code, a draft PR, or a link to a forked repository). -->
3629
1.
30+
2.
31+
3.
3732

3833
## Logs
39-
<!-- Provide logs if possible -->
34+
<!-- If possible, provide logs to help identify the issue -->
35+
36+
## Additional Context (Optional)
37+
<!-- Add any other context or information that might be relevant to the issue.
38+
For example, related issues, potential causes, or possible solutions. -->
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
name: Feature request
3+
about: Suggest an idea for this project
4+
title: "Feature Request"
5+
---
6+
7+
## Feature Request
8+
<!-- First of all: Have you checked the docs https://developers.line.biz/en/docs/messaging-api/overview/, Q&A page https://developers.line.biz/en/faq/, GitHub issues whether someone else has already reported your issue? -->
9+
10+
**Is your feature request related to a problem? Please describe.**
11+
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
12+
13+
**Describe the solution you'd like**
14+
A clear and concise description of what you want to happen.
15+
16+
**Describe alternatives you've considered**
17+
A clear and concise description of any alternative solutions or features you've considered.
18+
19+
**Additional context**
20+
Add any other context or screenshots about the feature request here.

.github/ISSUE_TEMPLATE/question.md

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
---
2+
name: "Question Template"
3+
about: "Use this template to ask questions about usage or implementation of the line-bot-sdk-go."
4+
title: "Question"
5+
---
6+
7+
<!--
8+
## Before Creating a Question Issue
9+
- Please check the [developer documentation](https://developers.line.biz/en/docs/) and [FAQ](https://developers.line.biz/en/faq/tags/messaging-api/) for answers to common questions.
10+
- Make sure your question hasn't already been asked in other Issues or the documentation.
11+
## This Is Not
12+
- A bug report. If you think you've found a bug, please use the "Bug Report" template.
13+
- A place to request new features. If you have a feature request, consider opening a "Feature Request" issue or PR.
14+
## When Creating a Question
15+
- Provide detailed information about your environment and context so we can better understand and answer your question.
16+
- Let us know what you've tried so far (e.g. searching docs, existing issues, etc.).
17+
-->
18+
19+
## Have You Checked the Following?
20+
- [ ] [line-bot-sdk-go module](https://pkg.go.dev/github.com/line/line-bot-sdk-go)
21+
- [ ] [Examples](https://github.com/line/line-bot-sdk-go/tree/master/examples/)
22+
- [ ] [Developer Documentation - LINE Developers](https://developers.line.biz/en/docs/)
23+
- [ ] [FAQ - LINE Developers](https://developers.line.biz/en/faq/tags/messaging-api/)
24+
25+
## Summary of Your Question
26+
<!-- Provide a clear and concise description of what you want to know. -->
27+
28+
## Details
29+
<!-- Provide any code snippets, relevant logs, or background details that will help us understand your question better. -->
30+
31+
## What You've Tried
32+
<!-- Let us know any steps you've already taken to answer your own question,
33+
such as searching in documentation or checking existing issues. -->
34+
35+
## Your Environment
36+
<!-- For example:
37+
- OS: [e.g. Ubuntu]
38+
- Go Version [e.g. 1.24.3]
39+
- line-bot-sdk-go version(s) [e.g. 8.13.1]
40+
-->
41+
42+
## Additional Context (Optional)
43+
<!-- Add any other context, possible considerations, or related links here. -->

.github/workflows/close-issue.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
days-before-issue-close: 0
2020
stale-issue-label: "no-activity"
2121
close-issue-message: "This issue was closed because it has been inactive for 14 days."
22-
exempt-issue-labels: "bug,enhancement,keep"
22+
exempt-issue-labels: "bug,enhancement,keep,untriaged"
2323
days-before-pr-stale: -1
2424
days-before-pr-close: 14
2525
stale-pr-label: "no-activity"

.github/workflows/label-issue.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Label issue
2+
3+
on:
4+
issues:
5+
types:
6+
- opened
7+
- reopened
8+
- closed
9+
10+
jobs:
11+
label-issues:
12+
runs-on: ubuntu-latest
13+
permissions:
14+
issues: write
15+
steps:
16+
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
17+
18+
- name: Add label on issue open
19+
if: github.event.action == 'opened' || github.event.action == 'reopened'
20+
run: |
21+
gh issue edit ${{ github.event.issue.number }} \
22+
--add-label "untriaged" \
23+
env:
24+
GH_TOKEN: ${{ github.token }}
25+
26+
- name: Remove label on issue close
27+
if: github.event.action == 'closed'
28+
run: |
29+
gh issue edit ${{ github.event.issue.number }} \
30+
--remove-label "untriaged"
31+
env:
32+
GH_TOKEN: ${{ github.token }}

0 commit comments

Comments
 (0)