mirror of
https://github.com/gitbutlerapp/gitbutler.git
synced 2024-12-22 17:11:43 +03:00
feat: add repo organisation templates / jobs (#4114)
* feat: add issue templates * feat: add PR template * feat: add pr-labeler job / labels * chore: formatting * fix: cleanup PR template * fix: modify bug template with dropdowns * Update .github/PULL_REQUEST_TEMPLATE.md Co-authored-by: Sebastian Thiel <sebastian.thiel@icloud.com> --------- Co-authored-by: Sebastian Thiel <sebastian.thiel@icloud.com>
This commit is contained in:
parent
76956bd428
commit
020377c972
64
.github/ISSUE_TEMPLATE/1_bug.yml
vendored
Normal file
64
.github/ISSUE_TEMPLATE/1_bug.yml
vendored
Normal file
@ -0,0 +1,64 @@
|
||||
name: Bug report
|
||||
description: Report an issue so we can improve
|
||||
labels: [bug]
|
||||
body:
|
||||
- type: input
|
||||
id: version
|
||||
attributes:
|
||||
label: Version
|
||||
description: Which version of GitButler are you running?
|
||||
placeholder: 0.12.5
|
||||
validations:
|
||||
required: true
|
||||
- type: dropdown
|
||||
id: operating-system
|
||||
attributes:
|
||||
label: Operating System
|
||||
description: What OS are you using GitButler on?
|
||||
options:
|
||||
- Mac OSX
|
||||
- Windows
|
||||
- Linux
|
||||
default: 0
|
||||
validations:
|
||||
required: true
|
||||
- type: dropdown
|
||||
id: distribution
|
||||
attributes:
|
||||
label: Distribution Method
|
||||
description: Which package of GitButler are you using?
|
||||
options:
|
||||
- dmg
|
||||
- exe
|
||||
- .deb
|
||||
- RPM
|
||||
- AppImage
|
||||
default: 0
|
||||
validations:
|
||||
required: true
|
||||
- type: textarea
|
||||
attributes:
|
||||
label: Describe the issue
|
||||
description: Describe us what the issue is and what have you tried so far to fix it. Add any extra useful information in this section. Feel free to use screenshots over a picture of your code) or a video explanation.
|
||||
validations:
|
||||
required: true
|
||||
- type: textarea
|
||||
attributes:
|
||||
label: How to reproduce
|
||||
description: Explain with clear steps how to reproduce the issue
|
||||
validations:
|
||||
required: false
|
||||
- type: textarea
|
||||
attributes:
|
||||
label: Expected behavior
|
||||
description: Explain what should have happened instead of what actually happened
|
||||
validations:
|
||||
required: false
|
||||
- type: textarea
|
||||
id: logs
|
||||
attributes:
|
||||
label: Relevant log output
|
||||
description: Please copy and paste any relevant log output. This will be automatically formatted into code, so no need for backticks.
|
||||
render: shell
|
||||
validations:
|
||||
required: false
|
22
.github/ISSUE_TEMPLATE/2_documentation.yml
vendored
Normal file
22
.github/ISSUE_TEMPLATE/2_documentation.yml
vendored
Normal file
@ -0,0 +1,22 @@
|
||||
name: "Documentation"
|
||||
description: Request to update or improve GitButler documentation
|
||||
labels: ["triage", "documentation"]
|
||||
body:
|
||||
- type: textarea
|
||||
attributes:
|
||||
label: What is the improvement or update you wish to see?
|
||||
description: "Example: The GitButler docs are missing information about X."
|
||||
validations:
|
||||
required: true
|
||||
- type: textarea
|
||||
attributes:
|
||||
label: Is there any context that might help us understand?
|
||||
description: A clear description of any added context that might help us understand.
|
||||
validations:
|
||||
required: false
|
||||
- type: input
|
||||
attributes:
|
||||
label: Does the docs page already exist? Please link to it.
|
||||
description: "Example: https://docs.gitbutler.com/features/virtual-branches"
|
||||
validations:
|
||||
required: false
|
5
.github/ISSUE_TEMPLATE/config.yml
vendored
Normal file
5
.github/ISSUE_TEMPLATE/config.yml
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
blank_issues_enabled: true
|
||||
contact_links:
|
||||
- name: Get help from the community (Discord)
|
||||
url: https://discord.com/invite/MmFkmaJ42D
|
||||
about: Ask questions and discuss with other community members
|
22
.github/PULL_REQUEST_TEMPLATE.md
vendored
Normal file
22
.github/PULL_REQUEST_TEMPLATE.md
vendored
Normal file
@ -0,0 +1,22 @@
|
||||
## ☕️ Reasoning
|
||||
|
||||
|
||||
## 🧢 Changes
|
||||
|
||||
|
||||
<!--
|
||||
If this PR is related to a specific issue, uncomment this section
|
||||
and link it via the following text:
|
||||
|
||||
## 🎫 Affected issues
|
||||
|
||||
Fixes: INSERT_ISSUE_NUMBER
|
||||
|
||||
-->
|
||||
|
||||
<!--
|
||||
If this is a WIP PR and you have todos left, feel free to uncomment this and turn this PR into a draft, see https://github.blog/2019-02-14-introducing-draft-pull-requests/
|
||||
|
||||
## 📌 Todos
|
||||
|
||||
-->
|
3
.github/pr-labeler.yml
vendored
Normal file
3
.github/pr-labeler.yml
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
# https://github.com/actions/labeler#create-githublabeleryml
|
||||
rust: ["crates/**/*"]
|
||||
svelte: ["app/**/*"]
|
16
.github/workflows/pr-labeler.yml
vendored
Normal file
16
.github/workflows/pr-labeler.yml
vendored
Normal file
@ -0,0 +1,16 @@
|
||||
# https://github.com/actions/labeler#create-workflow
|
||||
|
||||
name: Label Pull Requests
|
||||
|
||||
on:
|
||||
pull_request_target:
|
||||
|
||||
jobs:
|
||||
prs:
|
||||
name: Triage
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/labeler@v4
|
||||
with:
|
||||
repo-token: "${{ secrets.GITHUB_TOKEN }}"
|
||||
configuration-path: ".github/pr-labeler.yml"
|
Loading…
Reference in New Issue
Block a user