Skip to content

Commit 6694f21

Browse files
committed
actions: fixes for labeler and sponsored
labeler test reg add query Added games
1 parent 1766d43 commit 6694f21

File tree

3 files changed

+59
-42
lines changed

3 files changed

+59
-42
lines changed

.github/labeler.yml

Lines changed: 54 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -1,83 +1,98 @@
11
# Add/remove 'critical' label if issue contains the words 'urgent' or 'critical'
22
# Type
33
"type: game server request":
4-
- '(Server Request)'
4+
- '/(Server Request)/i'
55
"type: bug":
6-
- '(bug)'
6+
- '/(bug)/i'
77
"type: feature request":
8-
- '(feature)'
8+
- '/(feature)/i'
99
# Commands
1010
"command: backup":
11-
- '(backup)'
11+
- '/(backup)/i'
1212
"command: console":
13-
- '(console|tmux)'
13+
- '/(console|tmux)/i'
1414
"command: debug":
15-
- '(debug)'
15+
- '/(debug)/i'
1616
"command: details":
17-
- '(details)'
17+
- '/(details)/i'
1818
"command: fast-dl":
19-
- '(fast-dl|fastdl)'
19+
- '/(fast-dl|fastdl)/i'
2020
"command: install":
21-
- '(install)'
21+
- '/(install)/i'
2222
"command: mods":
23-
- '(mods)'
23+
- '/(mods)/i'
2424
"command: monitor":
25-
- '(monitor)'
25+
- '/(monitor)/i'
2626
"command: post-details":
27-
- '(post-details)'
27+
- '/(post-details)/i'
2828
"command: restart":
29-
- '(restart)'
29+
- '/(restart)/i'
3030
"command: send":
31-
- '(send)'
31+
- '/(send)/i'
3232
"command: skeleton":
33-
- '(skeleton)'
33+
- '/(skeleton)/i'
3434
"command: start":
35-
- '(start)'
35+
- '/(start)/i'
3636
"command: stop":
37-
- '(stop)'
37+
- '/(stop)/i'
3838
"command: update-lgsm":
39-
- '(update-lgsm)'
39+
- '/(update-lgsm)/i'
4040
"command: update":
41-
- '(update)'
41+
- '/(update)/i'
4242
"command: validate":
43-
- '(validate)'
43+
- '/(validate)/i'
4444
"command: wipe":
45-
- '(wipe)'
45+
- '/(wipe)/i'
4646
# Distros
4747
"distro: AlmaLinux":
48-
- '(Alma)'
48+
- '/(Alma)/i'
4949
"distro: Arch Linux":
50-
- '(Arch)'
50+
- '/(Arch)/i'
5151
"distro: CentOS":
52-
- '(CentOS)'
52+
- '/(CentOS)/i'
5353
"distro: Debian":
54-
- '(Debian)'
54+
- '/(Debian)/i'
5555
"distro: Fedora":
56-
- '(Fedora)'
56+
- '/(Fedora)/i'
5757
"distro: openSUSE":
58-
- '(openSUSE)'
58+
- '/(openSUSE|suse)/i'
5959
"distro: Rocky Linux":
60-
- '(Rocky)'
60+
- '/(Rocky)/i'
6161
"distro: Slackware":
62-
- '(Slackware)'
62+
- '/(Slackware)/i'
6363
"distro: Ubuntu":
64-
- '(Ubuntu)'
64+
- '/(Ubuntu)/i'
6565
# Info
6666
"info: alerts":
67-
- '(alert)'
67+
- '/(alert)/i'
6868
"info: dependency":
69-
- '(dependency|deps)'
69+
- '/(dependency|deps)/i'
7070
"info: docker":
71-
- '(docker)'
71+
- '/(docker)/i'
7272
"info: docs":
73-
- '(documentation|docs)'
73+
- '/(documentation|docs)/i'
7474
"info: email":
75-
- '(postfix|sendmail|exim|smtp)'
75+
- '/(postfix|sendmail|exim|smtp)/i'
76+
"info: query":
77+
- '/(gamedig|gsquery)/i'
7678
"info: steamcmd":
77-
- '(steamcmd)'
79+
- '/(steamcmd)/i'
7880
"info: systemd":
79-
- '(systemd)'
81+
- '/(systemd)/i'
8082
"info: tmux":
81-
- '(tmux)'
83+
- '/(tmux)/i'
8284
"info: website":
83-
- '(website)'
85+
- '/(website)/i'
86+
# Games
87+
"game: Ark: Survival Evolved":
88+
- '/(Ark: Survival Evolved|Ark)/i'
89+
"game: ARMA 3":
90+
- '/(ARMA 3)/i'
91+
"game: Assetto Corsa":
92+
- '/(Assetto Corsa)/i'
93+
"game: Avorion":
94+
- '/(Avorion)/i'
95+
"game: Ballistic Overkill":
96+
- '/(Ballistic Overkill)/i'
97+
"game: Barotrauma":
98+
- '/(Barotrauma)/i'

.github/workflows/label-sponsors.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
name: Label sponsors
22
on:
33
pull_request:
4-
types: [opened, edited]
4+
types: [opened]
55
issues:
6-
types: [opened, edited]
6+
types: [opened]
77
jobs:
88
build:
99
name: is-sponsor-label

.github/workflows/labeler.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@ jobs:
77
triage:
88
runs-on: ubuntu-latest
99
steps:
10-
- uses: github/issue-labeler@v2.0
10+
- uses: github/issue-labeler@v2.4
1111
with:
1212
repo-token: "${{ secrets.GITHUB_TOKEN }}"
1313
configuration-path: .github/labeler.yml
14+
not-before:
15+
enable-versioned-regex: 0

0 commit comments

Comments
 (0)