Skip to content

Commit

Permalink
New Labeler action
Browse files Browse the repository at this point in the history
add distros


add bug and feature


new labels


fastdl


regex


Add sponsor label
  • Loading branch information
dgibbs64 committed Sep 28, 2021
1 parent da40c63 commit 23bbc22
Show file tree
Hide file tree
Showing 3 changed files with 103 additions and 1,387 deletions.
83 changes: 83 additions & 0 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
@@ -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 changes: 14 additions & 0 deletions .github/workflows/label-sponsors.yml
Original file line number Diff line number Diff line change
@@ -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 }}
Loading

0 comments on commit 23bbc22

Please sign in to comment.