forked from WeblateOrg/docker-compose
-
Notifications
You must be signed in to change notification settings - Fork 0
43 lines (41 loc) · 2.44 KB
/
labels.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# This file is maintained in https://github.com/WeblateOrg/meta/
name: Issue labeled
on:
issues:
types: [labeled]
jobs:
issueLabeled:
runs-on: ubuntu-20.04
steps:
- name: Add backlog comment
uses: peter-evans/create-or-update-comment@v1
if: github.event.label.name == 'backlog'
with:
token: ${{ secrets.GITHUB_TOKEN }}
issue-number: ${{ github.event.issue.number }}
body: |
This issue has been added to the backlog. It is not scheduled on the Weblate roadmap, but it eventually might be implemented. In case you need this feature soon, please consider helping or push it by [funding the development](https://weblate.org/support/).
- name: Add undecided comment
uses: peter-evans/create-or-update-comment@v1
if: github.event.label.name == 'undecided'
with:
token: ${{ secrets.GITHUB_TOKEN }}
issue-number: ${{ github.event.issue.number }}
body: |
This issue has been put aside. It is currently unclear if 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.
- name: Add question comment
uses: peter-evans/create-or-update-comment@v1
if: github.event.label.name == 'question'
with:
token: ${{ secrets.GITHUB_TOKEN }}
issue-number: ${{ github.event.issue.number }}
body: |
This issue looks more like a support question than an issue. We strive to answer these reasonably fast, but [purchasing the support subscription](https://weblate.org/support/) is not only more responsible and faster for your business but also makes Weblate stronger. In case your question is already answered, [making a donation](https://weblate.org/donate/) is the right way to say thank you!
- name: Add translate-toolkit comment
uses: peter-evans/create-or-update-comment@v1
if: github.event.label.name == 'translate-toolkit'
with:
token: ${{ secrets.GITHUB_TOKEN }}
issue-number: ${{ github.event.issue.number }}
body: |
The issue you've reported needs to be addressed in the [translate-toolkit](https://github.com/translate/translate/). Please file the issue there, and include links to any relevant specifications about the formats (if applicable).