mirror of
https://github.com/zen-browser/desktop.git
synced 2025-07-08 01:19:59 +02:00
Enhance bug report template and add issue labeling workflow
This commit is contained in:
parent
f7678338bc
commit
3e91ecb8d5
4 changed files with 130 additions and 42 deletions
41
.github/ISSUE_TEMPLATE/bug_report.yml
vendored
41
.github/ISSUE_TEMPLATE/bug_report.yml
vendored
|
@ -20,6 +20,7 @@ body:
|
||||||
- label: I have read the instructions.
|
- label: I have read the instructions.
|
||||||
- label: I have searched existing issues and avoided creating duplicates.
|
- label: I have searched existing issues and avoided creating duplicates.
|
||||||
- label: I am not filing an enhancement request.
|
- label: I am not filing an enhancement request.
|
||||||
|
- label: I have checked that this issue cannot be reproduced on Mozilla Firefox.
|
||||||
- type: textarea
|
- type: textarea
|
||||||
id: what-happened
|
id: what-happened
|
||||||
attributes:
|
attributes:
|
||||||
|
@ -28,19 +29,12 @@ body:
|
||||||
placeholder: Tell us what you see!
|
placeholder: Tell us what you see!
|
||||||
validations:
|
validations:
|
||||||
required: true
|
required: true
|
||||||
- type: checkboxes
|
|
||||||
id: firefox
|
|
||||||
attributes:
|
|
||||||
label: Reproducible?
|
|
||||||
description: Is this issue reproducible on Firefox?
|
|
||||||
options:
|
|
||||||
- label: I have checked that this issue cannot be reproduced on Mozilla Firefox.
|
|
||||||
- type: input
|
- type: input
|
||||||
id: version
|
id: version
|
||||||
attributes:
|
attributes:
|
||||||
label: Version
|
label: Version
|
||||||
description: What version of our software are you running? Please do not use "latest" or "newest" as version numbers. Go to `Help -> About Zen` to find the version number.
|
description: What version of our software are you running? Please do not use "latest" or "newest" as version numbers. Go to `Help -> About Zen` to find the version number.
|
||||||
placeholder: 1.0.0
|
placeholder: 1.0.0b
|
||||||
validations:
|
validations:
|
||||||
required: true
|
required: true
|
||||||
- type: dropdown
|
- type: dropdown
|
||||||
|
@ -54,10 +48,39 @@ body:
|
||||||
- Linux (Tarball)
|
- Linux (Tarball)
|
||||||
- macOS - aarch64
|
- macOS - aarch64
|
||||||
- macOS - Intel
|
- macOS - Intel
|
||||||
- Windows
|
- Windows - x64
|
||||||
|
- Windows - aarch64
|
||||||
- Other
|
- Other
|
||||||
validations:
|
validations:
|
||||||
required: true
|
required: true
|
||||||
|
- type: dropdown
|
||||||
|
id: component
|
||||||
|
attributes:
|
||||||
|
label: What component is this issue related to?
|
||||||
|
options:
|
||||||
|
- Sync
|
||||||
|
- Compact Mode
|
||||||
|
- Workspaces
|
||||||
|
- Mods / Themes
|
||||||
|
- Glance
|
||||||
|
- URL Bar
|
||||||
|
- Tabs
|
||||||
|
- Settings
|
||||||
|
- Privacy
|
||||||
|
- Performance
|
||||||
|
- Media Controler
|
||||||
|
- Tab unloading
|
||||||
|
- Tab Folders
|
||||||
|
- Keyboard Shortcuts
|
||||||
|
- Security
|
||||||
|
- Extensions
|
||||||
|
- Customizable UI / Toolbars
|
||||||
|
- Localization
|
||||||
|
- Bookmarks
|
||||||
|
- Other
|
||||||
|
validations:
|
||||||
|
required: true
|
||||||
|
|
||||||
- type: textarea
|
- type: textarea
|
||||||
id: logs
|
id: logs
|
||||||
attributes:
|
attributes:
|
||||||
|
|
64
.github/advanced-issue-labeler.yml
vendored
Normal file
64
.github/advanced-issue-labeler.yml
vendored
Normal file
|
@ -0,0 +1,64 @@
|
||||||
|
policy:
|
||||||
|
- section:
|
||||||
|
- id: [component]
|
||||||
|
label:
|
||||||
|
# Make sure it's in sync with the dropdown in the issue template
|
||||||
|
- name: 'component: sync'
|
||||||
|
keys: ['Sync']
|
||||||
|
- name: 'component: compact-mode'
|
||||||
|
keys: ['Compact Mode']
|
||||||
|
- name: 'component: workspaces'
|
||||||
|
keys: ['Workspaces']
|
||||||
|
- name: 'component: mods-themes'
|
||||||
|
keys: ['Mods / Themes']
|
||||||
|
- name: 'component: bookmarks'
|
||||||
|
keys: ['Bookmarks']
|
||||||
|
- name: 'component: glance'
|
||||||
|
keys: ['Glance']
|
||||||
|
- name: 'component: url-bar'
|
||||||
|
keys: ['URL Bar']
|
||||||
|
- name: 'component: tabs'
|
||||||
|
keys: ['Tabs']
|
||||||
|
- name: 'component: settings'
|
||||||
|
keys: ['Settings']
|
||||||
|
- name: 'component: privacy'
|
||||||
|
keys: ['Privacy']
|
||||||
|
- name: 'component: performance'
|
||||||
|
keys: ['Performance']
|
||||||
|
- name: 'component: media-controller'
|
||||||
|
keys: ['Media Controler']
|
||||||
|
- name: 'component: tab-unloading'
|
||||||
|
keys: ['Tab unloading']
|
||||||
|
- name: 'component: tab-folders'
|
||||||
|
keys: ['Tab Folders']
|
||||||
|
- name: 'component: keyboard-shortcuts'
|
||||||
|
keys: ['Keyboard Shortcuts']
|
||||||
|
- name: 'component: security'
|
||||||
|
keys: ['Security']
|
||||||
|
- name: 'component: extensions'
|
||||||
|
keys: ['Extensions']
|
||||||
|
- name: 'component: customizable-ui-toolbars'
|
||||||
|
keys: ['Customizable UI / Toolbars']
|
||||||
|
- name: 'component: localization'
|
||||||
|
keys: ['Localization']
|
||||||
|
- name: 'component: other'
|
||||||
|
keys: ['Other']
|
||||||
|
|
||||||
|
- id: [platform]
|
||||||
|
block-list: ['Other']
|
||||||
|
label:
|
||||||
|
# Make sure it's in sync with the dropdown in the issue template
|
||||||
|
- name: 'platform: linux-appimage'
|
||||||
|
keys: ['Linux (AppImage)']
|
||||||
|
- name: 'platform: linux-flatpak'
|
||||||
|
keys: ['Linux (Flatpak)']
|
||||||
|
- name: 'platform: linux-tarball'
|
||||||
|
keys: ['Linux (Tarball)']
|
||||||
|
- name: 'platform: macos-aarch64'
|
||||||
|
keys: ['macOS - aarch64']
|
||||||
|
- name: 'platform: macos-intel'
|
||||||
|
keys: ['macOS - Intel']
|
||||||
|
- name: 'platform: windows-x64'
|
||||||
|
keys: ['Windows - x64']
|
||||||
|
- name: 'platform: windows-aarch64'
|
||||||
|
keys: ['Windows - aarch64']
|
33
.github/workflows/clear-cache.yml
vendored
33
.github/workflows/clear-cache.yml
vendored
|
@ -1,33 +0,0 @@
|
||||||
name: Clear cache
|
|
||||||
|
|
||||||
on:
|
|
||||||
workflow_dispatch:
|
|
||||||
|
|
||||||
permissions:
|
|
||||||
actions: write
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
clear-cache:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: Clear cache
|
|
||||||
uses: actions/github-script@v7
|
|
||||||
with:
|
|
||||||
script: |
|
|
||||||
console.log("About to clear")
|
|
||||||
const caches = await github.rest.actions.getActionsCacheList({
|
|
||||||
owner: context.repo.owner,
|
|
||||||
repo: context.repo.repo,
|
|
||||||
})
|
|
||||||
|
|
||||||
for (const cache of caches.data.actions_caches) {
|
|
||||||
console.log(cache)
|
|
||||||
await github.rest.actions.deleteActionsCacheById({
|
|
||||||
owner: context.repo.owner,
|
|
||||||
repo: context.repo.repo,
|
|
||||||
cache_id: cache.id,
|
|
||||||
})
|
|
||||||
}
|
|
||||||
|
|
||||||
console.log("Clear completed")
|
|
34
.github/workflows/issue-labeler.yml
vendored
Normal file
34
.github/workflows/issue-labeler.yml
vendored
Normal file
|
@ -0,0 +1,34 @@
|
||||||
|
name: Issue labeler
|
||||||
|
on:
|
||||||
|
issues:
|
||||||
|
types: [opened]
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
label-component:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
# required for all workflows
|
||||||
|
issues: write
|
||||||
|
|
||||||
|
# only required for workflows in private repositories
|
||||||
|
actions: read
|
||||||
|
contents: read
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
|
- name: Parse issue form
|
||||||
|
uses: stefanbuck/github-issue-parser@v3
|
||||||
|
id: issue-parser
|
||||||
|
with:
|
||||||
|
template-path: .github/ISSUE_TEMPLATE/bug_report.yml
|
||||||
|
|
||||||
|
- name: Set labels based on animals field
|
||||||
|
uses: redhat-plumbers-in-action/advanced-issue-labeler@v2
|
||||||
|
with:
|
||||||
|
issue-form: ${{ steps.issue-parser.outputs.jsonString }}
|
||||||
|
token: ${{ secrets.DEPLOY_KEY }}
|
Loading…
Add table
Add a link
Reference in a new issue