chore: add Go version lint check, modernize issue templates (#557)

- Add go.mod version check in lint workflow (fails if go directive != 1.20)
- Add golang.org/x/sys to dependabot ignore list (newer versions require Go 1.21+)
- Fix golang.org/x/text ignore comment
- Migrate issue templates from markdown to YAML forms:
- Update PR template (dev → main, add go.mod checklist item)
- Update .gitignore for YAML issue templates
This commit is contained in:
Roger
2026-04-06 00:33:25 +08:00
committed by GitHub
parent d8032ac824
commit 4c3dd9704f
10 changed files with 207 additions and 73 deletions
@@ -0,0 +1,51 @@
name: Browser Support Request
description: Request support for a new browser
labels: ["enhancement", "browser"]
body:
- type: input
id: browser-name
attributes:
label: Browser Name
placeholder: "e.g. Waterfox, Floorp, Whale"
validations:
required: true
- type: dropdown
id: engine
attributes:
label: Browser Engine
options:
- Chromium-based
- Firefox-based
- Other / Unknown
validations:
required: true
- type: dropdown
id: platform
attributes:
label: Platform
multiple: true
options:
- Windows
- macOS
- Linux
validations:
required: true
- type: input
id: data-dir
attributes:
label: User Data Directory
description: The browser's profile/data directory path. You can usually find this at `chrome://version` or `about:support`.
placeholder: "e.g. ~/Library/Application Support/BrowserName/"
validations:
required: false
- type: textarea
id: additional
attributes:
label: Additional Context
description: Any other information about this browser (download link, encryption differences, etc.)
validations:
required: false
-40
View File
@@ -1,40 +0,0 @@
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: bug
assignees: ''
---
## Describe the bug
A clear and concise description of what the bug is.
## Log Output
Please attach or paste the relevant log output. Use `./hack-browser-data -vv` and paste result here.
## Expected vs Actual Behavior
Describe what you expected to happen and what actually happened.
## Desktop (please complete the following information):
Select the operating system(s) you are using:
- [ ] Windows
- [ ] macOS
- [ ] Linux
- OS Version: [e.g. windows 10, macos 10.15.7, ubuntu 20.04]
- OS Architecture: [e.g. 32-bit, 64-bit]
- Browser Name: [e.g. chrome, firefox]
- Browser Version: [e.g. 86.0.4240.111, 82.0.3]
## Additional Details
- [ ] I ran `hack-browser-data` with administrator/root privileges.
## Checklist
- [ ] I have checked the [existing issues](https://github.com/moonD4rk/HackBrowserData/issues) for similar problems.
## Screenshots/Videos
If applicable, add screenshots or videos to help explain your problem.
## Additional context
Add any other context about the problem here.
+96
View File
@@ -0,0 +1,96 @@
name: Bug Report
description: Report a bug to help us improve
labels: ["bug"]
body:
- type: markdown
attributes:
value: |
Thanks for taking the time to report a bug! Please fill out the information below.
- type: dropdown
id: os
attributes:
label: Operating System
options:
- Windows
- macOS
- Linux
validations:
required: true
- type: input
id: os-version
attributes:
label: OS Version
placeholder: "e.g. Windows 10 22H2, macOS 14.5, Ubuntu 24.04"
validations:
required: true
- type: dropdown
id: browser
attributes:
label: Browser
options:
- Chrome
- Chrome Beta
- Chromium
- Edge
- Brave
- Opera
- OperaGX
- Vivaldi
- Yandex
- CocCoc
- Arc
- QQ
- 360 ChromeX
- 360 Chrome
- DC Browser
- Sogou Explorer
- Firefox
- Other
validations:
required: false
- type: input
id: browser-version
attributes:
label: Browser Version
placeholder: "e.g. Chrome 135.0.7049.96, Firefox 144.0"
validations:
required: false
- type: textarea
id: description
attributes:
label: Bug Description
description: A clear and concise description of what the bug is.
validations:
required: true
- type: textarea
id: log-output
attributes:
label: Log Output
description: Run `hack-browser-data -v` and paste the output here.
render: shell
validations:
required: false
- type: textarea
id: expected
attributes:
label: Expected vs Actual Behavior
description: What you expected to happen and what actually happened.
validations:
required: false
- type: checkboxes
id: checklist
attributes:
label: Checklist
options:
- label: I have checked the [existing issues](https://github.com/moonD4rk/HackBrowserData/issues) for similar reports.
required: true
- label: I ran `hack-browser-data` with administrator/root privileges.
required: false
+5
View File
@@ -0,0 +1,5 @@
blank_issues_enabled: true
contact_links:
- name: Documentation
url: https://github.com/moonD4rk/HackBrowserData/tree/main/rfcs
about: Read the RFCs for architecture and encryption details.
-23
View File
@@ -1,23 +0,0 @@
---
name: Feature Request
about: Suggest an idea for this project
title: ''
labels: enhancement
assignees: ''
---
## Feature Description
A clear and concise description of what the feature is.
## Why is this feature needed?
A clear and concise description of why this feature is needed.
## Checklist
- [ ] I have checked the [existing issues](https://github.com/moonD4rk/HackBrowserData/issues) for similar problems.
## Screenshots/Videos
If applicable, add screenshots or videos to help explain your proposal.
## Additional Context
Add any other context or screenshots about the feature request here.
@@ -0,0 +1,35 @@
name: Feature Request
description: Suggest an idea for this project
labels: ["enhancement"]
body:
- type: textarea
id: description
attributes:
label: Feature Description
description: A clear and concise description of the feature.
validations:
required: true
- type: textarea
id: motivation
attributes:
label: Why is this feature needed?
description: Describe the problem this feature would solve or the use case it enables.
validations:
required: true
- type: textarea
id: proposed-solution
attributes:
label: Proposed Solution
description: If you have an idea for how this could be implemented, describe it here.
validations:
required: false
- type: checkboxes
id: checklist
attributes:
label: Checklist
options:
- label: I have checked the [existing issues](https://github.com/moonD4rk/HackBrowserData/issues) for similar requests.
required: true