New Labeler action

add distros


add bug and feature


new labels


fastdl


regex


Add sponsor label
This commit is contained in:
Daniel Gibbs 2021-09-28 17:07:22 +01:00
parent da40c636e6
commit 23bbc227ae
No known key found for this signature in database
GPG Key ID: 5D5AB867A27738EC
3 changed files with 103 additions and 1387 deletions

83
.github/labeler.yml vendored Normal file
View File

@ -0,0 +1,83 @@
# Add/remove 'critical' label if issue contains the words 'urgent' or 'critical'
# Type
"type: game server request":
- '(Server Request)'
"type: bug":
- '(bug)'
"type: feature request":
- '(feature)'
# Commands
"command: backup":
- '(backup)'
"command: console":
- '(console|tmux)'
"command: debug":
- '(debug)'
"command: details":
- '(details)'
"command: fast-dl":
- '(fast-dl|fastdl)'
"command: install":
- '(install)'
"command: mods":
- '(mods)'
"command: monitor":
- '(monitor)'
"command: post-details":
- '(post-details)'
"command: restart":
- '(restart)'
"command: send":
- '(send)'
"command: skeleton":
- '(skeleton)'
"command: start":
- '(start)'
"command: stop":
- '(stop)'
"command: update-lgsm":
- '(update-lgsm)'
"command: update":
- '(update)'
"command: validate":
- '(validate)'
"command: wipe":
- '(wipe)'
# Distros
"distro: AlmaLinux":
- '(Alma)'
"distro: Arch Linux":
- '(Arch)'
"distro: CentOS":
- '(CentOS)'
"distro: Debian":
- '(Debian)'
"distro: Fedora":
- '(Fedora)'
"distro: openSUSE":
- '(openSUSE)'
"distro: Rocky Linux":
- '(Rocky)'
"distro: Slackware":
- '(Slackware)'
"distro: Ubuntu":
- '(Ubuntu)'
# Info
"info: alerts":
- '(alert)'
"info: dependency":
- '(dependency|deps)'
"info: docker":
- '(docker)'
"info: docs":
- '(documentation|docs)'
"info: email":
- '(postfix|sendmail|exim|smtp)'
"info: steamcmd":
- '(steamcmd)'
"info: systemd":
- '(systemd)'
"info: tmux":
- '(tmux)'
"info: website":
- '(website)'

14
.github/workflows/label-sponsors.yml vendored Normal file
View File

@ -0,0 +1,14 @@
name: Label sponsors
on:
pull_request:
types: [opened, edited]
issues:
types: [opened, edited]
jobs:
build:
name: is-sponsor-label
runs-on: ubuntu-latest
steps:
- uses: JasonEtco/is-sponsor-label-action@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

File diff suppressed because it is too large Load Diff