Browse Source

fix: issue labeler

Delete create-release.yml
a
pull/4115/head
Daniel Gibbs 2 years ago
parent
commit
6b73179e5d
  1. 115
      .github/labeler.yml
  2. 23
      .github/workflows/create-release.yml
  3. 15
      .github/workflows/labeler.yml

115
.github/labeler.yml

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

23
.github/workflows/create-release.yml

@ -1,23 +0,0 @@
name: Release Drafter
on:
push:
# branches to consider in the event; optional, defaults to all
branches:
- master
permissions:
contents: read
jobs:
update_release_draft:
permissions:
contents: write # for release-drafter/release-drafter to create a github release
pull-requests: write # for release-drafter/release-drafter to add label to PR
runs-on: ubuntu-latest
steps:
# Drafts your next Release notes as Pull Requests are merged into "master"
- uses: release-drafter/[email protected]
with:
config-name: release-drafter.yml
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

15
.github/workflows/labeler.yml

@ -2,6 +2,8 @@ name: "Issue Labeler"
on:
issues:
types: [opened, edited]
pull_request:
types: [opened, edited]
permissions:
contents: read
@ -13,9 +15,10 @@ jobs:
issues: write # for github/issue-labeler to create or remove labels
runs-on: ubuntu-latest
steps:
- uses: github/[email protected]
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
configuration-path: .github/labeler.yml
not-before:
enable-versioned-regex: 0
- uses: github/[email protected]
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
configuration-path: .github/labeler.yml
not-before:
enable-versioned-regex: 0
include-title: 1

Loading…
Cancel
Save