Adding automation and ticket template.
This commit is contained in:
parent
81cc48fab3
commit
e62e84450d
|
|
@ -0,0 +1,9 @@
|
||||||
|
# This is a comment.
|
||||||
|
# Each line is a file pattern followed by one or more owners.
|
||||||
|
|
||||||
|
# These owners will be the default owners for everything in
|
||||||
|
# the repo. Unless a later match takes precedence,
|
||||||
|
# @global-owner1 and @global-owner2 will be requested for
|
||||||
|
# review when someone opens a pull request.
|
||||||
|
# * @global-owner1 @global-owner2
|
||||||
|
* @ghostbsd/developers
|
||||||
|
|
@ -0,0 +1,55 @@
|
||||||
|
name: Bug Report
|
||||||
|
description: Report a bug or issue here.
|
||||||
|
title: "[BUG] <title>"
|
||||||
|
labels: [bug]
|
||||||
|
body:
|
||||||
|
- type: markdown
|
||||||
|
attributes:
|
||||||
|
value: |
|
||||||
|
### Please read this first
|
||||||
|
Before reporting an issue, make sure it is not in our [Development Management](https://github.com/orgs/ghostbsd/projects/4/views/12).
|
||||||
|
|
||||||
|
Follow these tips to help us understand your issue.
|
||||||
|
* Only one issue per report
|
||||||
|
* The title describes the issue
|
||||||
|
* Follow the information of each field
|
||||||
|
* Be concise and clear on each field
|
||||||
|
* Make sure the issue is understandable after reading it
|
||||||
|
|
||||||
|
**Note:** If we have a problem understanding the issue, we might close the report.
|
||||||
|
- type: input
|
||||||
|
id: version
|
||||||
|
attributes:
|
||||||
|
label: Version
|
||||||
|
description: Use ghostbsd-version -v or go to App menu > System Tools > Mate System Monitor and on the System Monitor window click System Tab
|
||||||
|
placeholder: "22.03.11"
|
||||||
|
validations:
|
||||||
|
required: true
|
||||||
|
- type: textarea
|
||||||
|
id: describe
|
||||||
|
attributes:
|
||||||
|
label: Explain the issue and what happens
|
||||||
|
description: What is the issue, and what happened?
|
||||||
|
validations:
|
||||||
|
required: true
|
||||||
|
- type: textarea
|
||||||
|
id: reproduce
|
||||||
|
attributes:
|
||||||
|
label: Explain how to reproduce the bug?
|
||||||
|
description: What are the steps to reproduce this issue?
|
||||||
|
validations:
|
||||||
|
required: true
|
||||||
|
- type: textarea
|
||||||
|
id: behavior
|
||||||
|
attributes:
|
||||||
|
label: What is the Expected behavior (if applicable)
|
||||||
|
description: What do you expect to happen?
|
||||||
|
validations:
|
||||||
|
required: false
|
||||||
|
- type: textarea
|
||||||
|
id: additional
|
||||||
|
attributes:
|
||||||
|
label: Additional context (if applicable)
|
||||||
|
description: Added your Terminal ouput or logs here with context
|
||||||
|
validations:
|
||||||
|
required: false
|
||||||
|
|
@ -0,0 +1,33 @@
|
||||||
|
name: Feature Request
|
||||||
|
description: Request a new feature, enhancement to improve GhostBSD
|
||||||
|
title: "[Feature] <title>"
|
||||||
|
labels: [feature]
|
||||||
|
body:
|
||||||
|
- type: markdown
|
||||||
|
attributes:
|
||||||
|
value: |
|
||||||
|
### Please read this first
|
||||||
|
Before requesting an a new feature, enhancement, make sure it is not in our [Development Management](https://github.com/orgs/ghostbsd/projects/4/views/12).
|
||||||
|
|
||||||
|
Follow these tips to help us understand your request.
|
||||||
|
* Only one feature or enhancement per request
|
||||||
|
* The title describes the request
|
||||||
|
* Follow the information of each field
|
||||||
|
* Be concise and clear on each field
|
||||||
|
* Make sure your request is understandable after reading it
|
||||||
|
|
||||||
|
**Note:** If we have a problem understanding the request, we might close the request.
|
||||||
|
- type: textarea
|
||||||
|
id: describe
|
||||||
|
attributes:
|
||||||
|
label: Describe the feature or enhancement
|
||||||
|
description: A clear and concise description of the feature or enhancement.
|
||||||
|
validations:
|
||||||
|
required: true
|
||||||
|
- type: textarea
|
||||||
|
id: why
|
||||||
|
attributes:
|
||||||
|
label: Why this request?
|
||||||
|
description: Why this feature or enhancement request.
|
||||||
|
validations:
|
||||||
|
required: true
|
||||||
|
|
@ -0,0 +1,40 @@
|
||||||
|
name: Security issue
|
||||||
|
description: Report a security issue or vulnerability here.
|
||||||
|
title: "[Security] <title>"
|
||||||
|
labels: [security]
|
||||||
|
body:
|
||||||
|
- type: markdown
|
||||||
|
attributes:
|
||||||
|
value: |
|
||||||
|
### Please read this first
|
||||||
|
Before reporting a security issue or vulnerability, make sure it is not in our [Development Management](https://github.com/orgs/ghostbsd/projects/4/views/12).
|
||||||
|
|
||||||
|
Follow these tips to help us understand your security issue
|
||||||
|
* Only one security issue or vulnerability per report
|
||||||
|
* The title describes the security issue or vulnerability
|
||||||
|
* Follow the information of each field
|
||||||
|
* Be concise and clear on each field
|
||||||
|
* Make sure your security issue or vulnerability is understandable after reading it
|
||||||
|
|
||||||
|
**Note:** If we have a problem understanding the security issue, we might close this report.
|
||||||
|
- type: input
|
||||||
|
id: version
|
||||||
|
attributes:
|
||||||
|
label: Version
|
||||||
|
description: Use ghostbsd-version -v or go to App menu > System Tools > Mate System Monitor and on the System Monitor window click System Tab
|
||||||
|
placeholder: "22.03.11"
|
||||||
|
validations:
|
||||||
|
required: true
|
||||||
|
- type: textarea
|
||||||
|
id: describe
|
||||||
|
attributes:
|
||||||
|
label: What is the security issue or vulnerability?
|
||||||
|
validations:
|
||||||
|
required: true
|
||||||
|
- type: textarea
|
||||||
|
id: additional
|
||||||
|
attributes:
|
||||||
|
label: Security issue or vulnerability information
|
||||||
|
description: Added your pkg audit -F output, CVE information or concerns here
|
||||||
|
validations:
|
||||||
|
required: true
|
||||||
|
|
@ -0,0 +1,61 @@
|
||||||
|
name: Project automations
|
||||||
|
on:
|
||||||
|
issues:
|
||||||
|
types:
|
||||||
|
- opened
|
||||||
|
- assigned
|
||||||
|
pull_request:
|
||||||
|
types:
|
||||||
|
- opened
|
||||||
|
|
||||||
|
# map fields with customized labels
|
||||||
|
env:
|
||||||
|
new: New
|
||||||
|
todo: Todo
|
||||||
|
done: Done
|
||||||
|
in_progress: In Progress
|
||||||
|
in_review: In Review
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
issue_opened:
|
||||||
|
name: issue_opened
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
if: github.event_name == 'issues' && (github.event.action == 'opened')
|
||||||
|
steps:
|
||||||
|
- name: Move issue to ${{ env.new }}
|
||||||
|
uses: leonsteinhaeuser/project-beta-automations@v2.1.0
|
||||||
|
with:
|
||||||
|
gh_token: ${{ secrets.MY_GITHUB_TOKEN }}
|
||||||
|
# user: ghostbsd
|
||||||
|
organization: ghostbsd
|
||||||
|
project_id: 4
|
||||||
|
resource_node_id: ${{ github.event.issue.node_id }}
|
||||||
|
status_value: ${{ env.new }}
|
||||||
|
issue_assigned:
|
||||||
|
name: issue_assigned
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
if: github.event_name == 'issues' && (github.event.action == 'assigned')
|
||||||
|
steps:
|
||||||
|
- name: Move issue to ${{ env.in_progress }}
|
||||||
|
uses: leonsteinhaeuser/project-beta-automations@v2.1.0
|
||||||
|
with:
|
||||||
|
gh_token: ${{ secrets.MY_GITHUB_TOKEN }}
|
||||||
|
# user: ghostbsd
|
||||||
|
organization: ghostbsd
|
||||||
|
project_id: 4
|
||||||
|
resource_node_id: ${{ github.event.issue.node_id }}
|
||||||
|
status_value: ${{ env.in_progress }}
|
||||||
|
pr_opened:
|
||||||
|
name: pr_opened
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
if: github.event_name == 'pull_request' && (github.event.action == 'opened')
|
||||||
|
steps:
|
||||||
|
- name: Move PR to ${{ env.in_review }}
|
||||||
|
uses: leonsteinhaeuser/project-beta-automations@v2.1.0
|
||||||
|
with:
|
||||||
|
gh_token: ${{ secrets.MY_GITHUB_TOKEN }}
|
||||||
|
# user: ghostbsd
|
||||||
|
organization: ghostbsd
|
||||||
|
project_id: 4
|
||||||
|
resource_node_id: ${{ github.event.pull_request.node_id }}
|
||||||
|
status_value: ${{ env.in_review }}
|
||||||
Loading…
Reference in New Issue