Add labeler and updates issues templates
This commit is contained in:
34
.github/ISSUE_TEMPLATE/bug_report.md
vendored
34
.github/ISSUE_TEMPLATE/bug_report.md
vendored
@@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
name: Bug report
|
name: 🐞 Bug report
|
||||||
about: Create a report to help us improve
|
about: Create a report to help us improve
|
||||||
title: ''
|
title: ''
|
||||||
labels: bug
|
labels: bug
|
||||||
@@ -7,14 +7,30 @@ assignees: ''
|
|||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
**Bug description**
|
<!--
|
||||||
<!-- A clear and concise description of what the bug is. -->
|
|
||||||
|
|
||||||
**Expected behavior**
|
👋 Hi there!
|
||||||
<!-- A clear and concise description of what you expected to happen. -->
|
Thanks for using metrics and helping us to improve!
|
||||||
|
|
||||||
**To Reproduce**
|
Please check the following before filling a bug report:
|
||||||
<!-- List steps to reproduce the behavior. -->
|
- It does not duplicate another existing issue
|
||||||
|
- Retry at least once to confirm that it was not some random error
|
||||||
|
|
||||||
**Additional context and screenshots**
|
For visual issues, mispelled words, etc. ...
|
||||||
<!-- Add any other context or screenshots about the problem here. -->
|
- Provide a description of what you expected to happen
|
||||||
|
- Optionally add screenshots or additional context
|
||||||
|
|
||||||
|
For runtime errors...
|
||||||
|
impacting action version:
|
||||||
|
- Paste an excerpt of:
|
||||||
|
- workflow step
|
||||||
|
- error logs
|
||||||
|
- direct GitHub links to the above
|
||||||
|
|
||||||
|
impacting web instance version:
|
||||||
|
- Paste used url query
|
||||||
|
|
||||||
|
For other issues...
|
||||||
|
- Just write a clear and concise description of what the bug is
|
||||||
|
|
||||||
|
-->
|
||||||
|
|||||||
23
.github/ISSUE_TEMPLATE/feature_request.md
vendored
23
.github/ISSUE_TEMPLATE/feature_request.md
vendored
@@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
name: Feature request
|
name: 🗳️ Feature request
|
||||||
about: Suggest an idea for this project
|
about: Suggest an idea for this project
|
||||||
title: ''
|
title: ''
|
||||||
labels: enhancement
|
labels: enhancement
|
||||||
@@ -7,8 +7,21 @@ assignees: ''
|
|||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
**Feature description**
|
<!--
|
||||||
<!-- A clear and concise description of what the problem is. -->
|
|
||||||
|
|
||||||
**Additional context**
|
👋 Hi there!
|
||||||
<!-- Add any other context or screenshots about the feature request here. -->
|
Thanks for using metrics and helping us to improve!
|
||||||
|
|
||||||
|
Please check the following before filling a feature request:
|
||||||
|
- It does not duplicate another existing issue
|
||||||
|
- It is not mentioned in https://github.com/lowlighter/metrics/projects/1
|
||||||
|
|
||||||
|
For plugin requests...
|
||||||
|
- Add "plugin" label
|
||||||
|
- Optionally add screenshots or additional context
|
||||||
|
|
||||||
|
For other requests...
|
||||||
|
- Just write a clear and concise description about the feature request
|
||||||
|
- Optionally add screenshots or additional context
|
||||||
|
|
||||||
|
-->
|
||||||
|
|||||||
26
.github/ISSUE_TEMPLATE/question.md
vendored
26
.github/ISSUE_TEMPLATE/question.md
vendored
@@ -1,5 +1,5 @@
|
|||||||
---
|
---
|
||||||
name: Question
|
name: 💬 Question
|
||||||
about: Ask a question or request help
|
about: Ask a question or request help
|
||||||
title: ''
|
title: ''
|
||||||
labels: question
|
labels: question
|
||||||
@@ -7,4 +7,26 @@ assignees: ''
|
|||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
<!-- A clear and concise description of what you want to discuss. -->
|
<!--
|
||||||
|
|
||||||
|
👋 Hi there!
|
||||||
|
Thanks for using metrics!
|
||||||
|
|
||||||
|
Before asking a question or for help, try to:
|
||||||
|
- Search for a similar already existing issue
|
||||||
|
- Check README.md documentation
|
||||||
|
- Note that most of documentation is collapsed by default, so be sure to open sections marked with "▶",
|
||||||
|
the solution to your problem may already be present!
|
||||||
|
|
||||||
|
For setup help...
|
||||||
|
- Be sure to create required secrets (METRICS_TOKEN and other plugins token when needed)
|
||||||
|
- Paste an excerpt of:
|
||||||
|
- workflow step
|
||||||
|
- error logs (if applicable)
|
||||||
|
- direct GitHub links to the above
|
||||||
|
- Optionally add screenshots or additional context
|
||||||
|
|
||||||
|
For other questions...
|
||||||
|
- Just write about what you want to talk!
|
||||||
|
|
||||||
|
-->
|
||||||
|
|||||||
37
.github/config/label.yml
vendored
Normal file
37
.github/config/label.yml
vendored
Normal file
@@ -0,0 +1,37 @@
|
|||||||
|
# Repository files
|
||||||
|
repository:
|
||||||
|
- .github/**
|
||||||
|
- .gitignore
|
||||||
|
- .gitattributes
|
||||||
|
- README.md
|
||||||
|
- SECURITY.md
|
||||||
|
- LICENSE
|
||||||
|
- CONTRIBUTING.md
|
||||||
|
|
||||||
|
# Docker
|
||||||
|
docker:
|
||||||
|
- .dockerignore
|
||||||
|
- Dockerfile
|
||||||
|
|
||||||
|
# Metrics source code editions
|
||||||
|
core:
|
||||||
|
- source/app/metrics.mjs
|
||||||
|
- source/app/setup.mjs
|
||||||
|
action:
|
||||||
|
- source/app/action
|
||||||
|
- action.yml
|
||||||
|
web:
|
||||||
|
- source/app/web
|
||||||
|
- settings.example.json
|
||||||
|
plugin:
|
||||||
|
- source/plugins
|
||||||
|
queries:
|
||||||
|
- source/queries
|
||||||
|
templates:
|
||||||
|
- source/templates
|
||||||
|
tests:
|
||||||
|
- source/app/mocks.mjs
|
||||||
|
- tests/**
|
||||||
|
dependencies:
|
||||||
|
- package.json
|
||||||
|
- package-lock.json
|
||||||
15
.github/workflows/label.yml
vendored
Normal file
15
.github/workflows/label.yml
vendored
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
name: Label issue and pull requests
|
||||||
|
|
||||||
|
on:
|
||||||
|
pull_request:
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
label:
|
||||||
|
name: Label issue and pull requests
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/labeler@v2
|
||||||
|
with:
|
||||||
|
repo-token: "${{ secrets.GITHUB_TOKEN }}"
|
||||||
|
configuration-path: .github/config/label.yml
|
||||||
|
sync-labels: yes
|
||||||
16
.github/workflows/stale.yml
vendored
16
.github/workflows/stale.yml
vendored
@@ -6,13 +6,17 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
stale:
|
stale:
|
||||||
|
name: Flag stale issues and pull requests
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Flag stale issues and pull requests
|
- uses: actions/stale@v3
|
||||||
uses: actions/stale@v3
|
|
||||||
with:
|
with:
|
||||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||||
stale-issue-message: This issue has been open 30 days without activity. It will be closed in 5 days if it remains inactive.
|
stale-issue-message: This issue seems to be inactive and will be automatically closed in a few days if it remains without any activity.
|
||||||
stale-pr-message: This pull request has been open 30 days without activity. It will be closed in 5 days if it remains inactive.
|
stale-pr-message: This pull request seems to be inactive and will be automatically closed in a few days if it remains without any activity.
|
||||||
days-before-stale: 30
|
days-before-stale: 21
|
||||||
days-before-close: 5
|
days-before-close: 3
|
||||||
|
stale-issue-label: stale
|
||||||
|
stale-pr-label: stale
|
||||||
|
remove-stale-when-updated: yes
|
||||||
|
operations-per-run: 100
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
### 📝 Reporting a Vulnerability
|
### 📝 Reporting a Vulnerability
|
||||||
|
|
||||||
To report a vulnerability, simply open an [issue](https://github.com/lowlighter/metrics/issues).
|
To report a vulnerability, simply open an [issue](https://github.com/lowlighter/metrics/issues) with `security` label.
|
||||||
We'll try to patch it quickly.
|
We'll try to patch it quickly.
|
||||||
|
|||||||
Reference in New Issue
Block a user