Sync with WeblateOrg/meta

This commit is contained in:
Michal Čihař 2022-01-25 09:27:46 +01:00
parent cfcf05988f
commit 37b8027d18
14 changed files with 372 additions and 366 deletions

View file

@ -3,11 +3,11 @@
name: Bug report
description: Create a report to help us improve
body:
- type: markdown
- type: markdown
attributes:
value: |
Thank you for reporting an issue on Weblate! This form will guide you to create a useful issue report.
- type: textarea
- type: textarea
id: what-happened
attributes:
label: Describe the issue
@ -15,7 +15,7 @@ body:
placeholder: Tell us what you see!
validations:
required: true
- type: checkboxes
- type: checkboxes
id: tried
attributes:
label: I already tried
@ -25,7 +25,7 @@ body:
required: true
- label: I've searched for similar issues in this repository.
required: true
- type: textarea
- type: textarea
id: reproducer
attributes:
label: Steps to reproduce the behavior
@ -34,17 +34,17 @@ body:
2. Scroll down to '...'
3. Click on '...'
4. See error
- type: textarea
- type: textarea
id: expected
attributes:
label: Expected behavior
description: A clear and concise description of what you expected to happen.
- type: textarea
- type: textarea
id: screenshots
attributes:
label: Screenshots
description: If applicable, add screenshots to better explain your problem.
- type: textarea
- type: textarea
id: traceback
attributes:
label: Exception traceback
@ -53,7 +53,7 @@ body:
[the debugging documentation](https://docs.weblate.org/en/latest/contributing/debugging.html)
for information how to obtain that.
render: pytb
- type: textarea
- type: textarea
id: additional
attributes:
label: Additional context

View file

@ -1,15 +1,10 @@
contact_links:
- name: Read our clear, thorough and localized Docs
- name: Read our clear, thorough and localized Docs
url: https://docs.weblate.org/
about:
Save your time! There is an instant solution for many issues in the docs
appreciated by numerous users. And it might be in your preferred language.
- name: Get Professional support
about: Save your time! There is an instant solution for many issues in the docs appreciated by numerous users. And it might be in your preferred language.
- name: Get Professional support
url: https://weblate.org/support/
about:
As a subscriber, you will always receive fast and helpful replies from
our dedicated support team. More responsible and faster for your business, also
makes Weblate stronger.
- name: Ask a Question
about: As a subscriber, you will always receive fast and helpful replies from our dedicated support team. More responsible and faster for your business, also makes Weblate stronger.
- name: Ask a Question
url: https://github.com/WeblateOrg/weblate/discussions
about: Want to discuss something with a community? Do it in discussions!

View file

@ -3,11 +3,11 @@
name: Feature request
description: Suggest an idea for this project
body:
- type: markdown
- type: markdown
attributes:
value: |
Thank you for reporting an issue on Weblate! This form will guide you to create a useful issue report.
- type: textarea
- type: textarea
id: describe
attributes:
label: Describe the problem
@ -17,24 +17,24 @@ body:
Ex. I'm always frustrated when [...]
validations:
required: true
- type: textarea
- type: textarea
id: solition
attributes:
label: Describe the solution you'd like
description: A clear and concise description of what the new feature should do.
validations:
required: true
- type: textarea
- type: textarea
id: alternatives
attributes:
label: Describe alternatives you've considered
description: A clear and concise description of any alternative solutions or features you've considered.
- type: textarea
- type: textarea
id: screenshots
attributes:
label: Screenshots
description: If applicable, add screenshots to better explain your problem.
- type: textarea
- type: textarea
id: additional
attributes:
label: Additional context

View file

@ -3,15 +3,15 @@
name: Support question
description: Help with configuration or deployment
labels:
- question
- question
body:
- type: markdown
- type: markdown
attributes:
value: |
Thank you for reporting an issue on Weblate! This form will guide you to create a useful issue report.

Want your answer quickly and guaranteed? Visit https://weblate.org/support/ to reach our dedicated support team. As a subscriber, you will always have priority and help Weblate growing.
- type: textarea
- type: textarea
id: what-happened
attributes:
label: Describe the issue
@ -19,7 +19,7 @@ body:
placeholder: Tell us what you see!
validations:
required: true
- type: checkboxes
- type: checkboxes
id: tried
attributes:
label: I already tried
@ -29,7 +29,7 @@ body:
required: true
- label: I've searched for similar issues in this repository.
required: true
- type: textarea
- type: textarea
id: reproducer
attributes:
label: Steps to reproduce the behavior
@ -38,17 +38,17 @@ body:
2. Scroll down to '...'
3. Click on '...'
4. See error
- type: textarea
- type: textarea
id: expected
attributes:
label: Expected behavior
description: A clear and concise description of what you expected to happen.
- type: textarea
- type: textarea
id: screenshots
attributes:
label: Screenshots
description: If applicable, add screenshots to better explain your problem.
- type: textarea
- type: textarea
id: traceback
attributes:
label: Exception traceback
@ -57,7 +57,7 @@ body:
[the debugging documentation](https://docs.weblate.org/en/latest/contributing/debugging.html)
for information how to obtain that.
render: pytb
- type: textarea
- type: textarea
id: additional
attributes:
label: Additional context

View file

@ -1,7 +1,7 @@
# This file is generated in https://github.com/WeblateOrg/meta/
version: 2
updates:
- package-ecosystem: github-actions
- package-ecosystem: github-actions
directory: /
schedule:
interval: daily
@ -9,7 +9,7 @@ updates:
- dependencies
- automerge
open-pull-requests-limit: 10
- package-ecosystem: pip
- package-ecosystem: pip
directory: /
schedule:
interval: daily

View file

@ -4,9 +4,9 @@ name: Pre-commit check
on:
push:
branches-ignore:
- "dependabot/**"
- "deepsource-fix-**"
- "renovate/**"
- dependabot/**
- deepsource-fix-**
- renovate/**
- weblate
pull_request:

@ -25,7 +25,7 @@ jobs:
- name: Setup Python
uses: actions/setup-python@v2.3.1
with:
python-version: "3.10"
python-version: '3.10'
- name: Install dependencies
run: |
python -m pip install --upgrade pip wheel

View file

@ -1,9 +1,9 @@
# This file is maintained in https://github.com/WeblateOrg/meta/

name: "Close stale"
name: Close stale
on:
schedule:
- cron: "30 1 * * *"
- cron: 30 1 * * *
push:
branches:
- main

View file

@ -1,7 +1,7 @@
# See https://pre-commit.com for more information
# See https://pre-commit.com/hooks.html for more hooks
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.1.0
hooks:
- id: trailing-whitespace
@ -11,19 +11,28 @@ repos:
- id: check-merge-conflict
- id: mixed-line-ending
args: [--fix=lf]
- repo: https://github.com/adrienverge/yamllint
- repo: https://github.com/adrienverge/yamllint
rev: v1.26.3
hooks:
- id: yamllint
- repo: meta
- repo: meta
hooks:
- id: check-hooks-apply
- id: check-useless-excludes
- repo: https://github.com/pre-commit/mirrors-prettier
rev: v2.5.1
- repo: https://github.com/macisamuele/language-formatters-pre-commit-hooks
rev: v2.2.0
hooks:
- id: prettier
- repo: https://github.com/shellcheck-py/shellcheck-py
- id: pretty-format-yaml
args: [--autofix, --indent, '2']
- repo: https://github.com/executablebooks/mdformat
rev: 0.7.13
hooks:
- id: mdformat
additional_dependencies:
- mdformat-gfm
- mdformat-black
- mdformat-shfmt
- repo: https://github.com/shellcheck-py/shellcheck-py
rev: v0.8.0.3
hooks:
- id: shellcheck

View file

@ -5,3 +5,5 @@ rules:
max: 500
level: error
document-start: disable
indentation:
indent-sequences: false