Skip to content

Commit 8b25d71

Browse files
committed
Sync with WeblateOrg/meta
1 parent 6b0a720 commit 8b25d71

File tree

4 files changed

+21
-2
lines changed

4 files changed

+21
-2
lines changed

.github/labels.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,9 @@
4242
- color: ee0701
4343
name: security
4444
description: Pull requests that address a security vulnerability
45+
- color: 000000
46+
name: submodules
47+
description: Pull requests that update Submodules code
4548
# Hacktoberfest
4649
- color: 129e5e
4750
name: hacktoberfest

.github/workflows/closing.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
* If you are happy with the outcome, consider supporting Weblate by [donating](https://weblate.org/donate/).
2323
- name: Add closed issue comment
2424
uses: peter-evans/create-or-update-comment@v1
25-
if: "! contains(github.event.issue.labels.*.name, 'invalid') && ! contains(github.event.issue.labels.*.name, 'question') && ! contains(github.event.issue.labels.*.name, 'wontfix') && ! contains(github.event.issue.labels.*.name, 'duplicate') && ! contains(github.event.issue.labels.*.name, 'undecided') && join(github.event.issue.labels.*.name) != ''"
25+
if: "! contains(github.event.issue.labels.*.name, 'invalid') && ! contains(github.event.issue.labels.*.name, 'question') && ! contains(github.event.issue.labels.*.name, 'wontfix') && ! contains(github.event.issue.labels.*.name, 'duplicate') && ! contains(github.event.issue.labels.*.name, 'undecided') && ! contains(github.event.issue.labels.*.name, 'needinfo') && join(github.event.issue.labels.*.name) != ''"
2626
with:
2727
token: ${{ secrets.GITHUB_TOKEN }}
2828
issue-number: ${{ github.event.issue.number }}

.github/workflows/labels.yml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,3 +25,19 @@ jobs:
2525
issue-number: ${{ github.event.issue.number }}
2626
body: |
2727
This issue has been put aside. Currently, it is unclear whether it will ever be implemented as it seems to cover too narrow of a use case or doesn't seem to fit into Weblate. Please try to clarify the use case or consider proposing something more generic to make it useful to more users.
28+
- name: Add question comment
29+
uses: peter-evans/create-or-update-comment@v1
30+
if: github.event.label.name == 'question'
31+
with:
32+
token: ${{ secrets.GITHUB_TOKEN }}
33+
issue-number: ${{ github.event.issue.number }}
34+
body: |
35+
This issue looks like a support question. We try to answer these reasonably fast, but in case you are looking for faster resolution, please consider [purchasing support subscription](https://weblate.org/support/) and make Weblate stronger.
36+
- name: Add translate-toolkit comment
37+
uses: peter-evans/create-or-update-comment@v1
38+
if: github.event.label.name == 'translate-toolkit'
39+
with:
40+
token: ${{ secrets.GITHUB_TOKEN }}
41+
issue-number: ${{ github.event.issue.number }}
42+
body: |
43+
The issue you've reported needs to be addressed in the [translate-toolkit](https://github.com/translate/translate/). Please file the issue there and do not forget to include links to any relevant specifications about the formats (if applicable).

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ repos:
1212
- id: mixed-line-ending
1313
args: [--fix=lf]
1414
- repo: https://github.com/adrienverge/yamllint
15-
rev: v1.23.0
15+
rev: v1.24.2
1616
hooks:
1717
- id: yamllint
1818
- repo: meta

0 commit comments

Comments
 (0)