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' # 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 # Commands
"command: backup": "command: backup":
- "/(backup)/i" - "(backup)"
"command: console": "command: console":
- "/(console|tmux)/i" - "(console|tmux)"
"command: debug": "command: debug":
- "/(debug)/i" - "(debug)"
"command: details": "command: details":
- "/(details)/i" - "(details)"
"command: fast-dl": "command: fast-dl":
- "/(fast-dl|fastdl)/i" - "(fast-dl|fastdl)"
"command: install": "command: install":
- "/(install)/i" - "(install)"
"command: mods": "command: mods":
- "/(mods)/i" - "(mods)"
"command: monitor": "command: monitor":
- "/(monitor)/i" - "(monitor)"
"command: post-details": "command: post-details":
- "/(post-details)/i" - "(post-details)"
"command: restart": "command: restart":
- "/(restart)/i" - "(restart)"
"command: send": "command: send":
- "/(send)/i" - "(send)"
"command: skeleton": "command: skeleton":
- "/(skeleton)/i" - "(skeleton)"
"command: start": "command: start":
- "/(start)/i" - "(start)"
"command: stop": "command: stop":
- "/(stop)/i" - "(stop)"
"command: update-lgsm": "command: update-lgsm":
- "/(update-lgsm)/i" - "(update-lgsm)"
"command: update": "command: update":
- "/(update)/i" - "(update)"
"command: validate": "command: validate":
- "/(validate)/i" - "(validate)"
"command: wipe": "command: wipe":
- "/(wipe)/i" - "(wipe)"
# Distros # Distros
"distro: AlmaLinux": "distro: AlmaLinux":
- "/(Alma)/i" - "(Alma)"
"distro: Arch Linux": "distro: Arch Linux":
- "/(Arch)/i" - "(Arch)"
"distro: CentOS": "distro: CentOS":
- "/(CentOS)/i" - "(CentOS)"
"distro: Debian": "distro: Debian":
- "/(Debian)/i" - "(Debian)"
"distro: Fedora": "distro: Fedora":
- "/(Fedora)/i" - "(Fedora)"
"distro: openSUSE": "distro: openSUSE":
- "/(openSUSE|suse)/i" - "(openSUSE|suse)"
"distro: Rocky Linux": "distro: Rocky Linux":
- "/(Rocky)/i" - "(Rocky)"
"distro: Slackware": "distro: Slackware":
- "/(Slackware)/i" - "(Slackware)"
"distro: Ubuntu": "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
"info: alerts": "info: alerts":
- "/(alert)/i" - "(alert)"
"info: dependency": "info: dependency":
- "/(dependency|deps)/i" - "(dependency|deps)"
"info: docker": "info: docker":
- "/(docker)/i" - "(docker)"
"info: docs": "info: docs":
- "/(documentation|docs)/i" - "(documentation|docs)"
"info: email": "info: email":
- "/(postfix|sendmail|exim|smtp)/i" - "(postfix|sendmail|exim|smtp)"
"info: query": "info: query":
- "/(gamedig|gsquery)/i" - "(gamedig|gsquery)"
"info: steamcmd": "info: steamcmd":
- "/(steamcmd)/i" - "(steamcmd)"
"info: systemd": "info: systemd":
- "/(systemd)/i" - "(systemd)"
"info: tmux": "info: tmux":
- "/(tmux)/i" - "(tmux)"
"info: website": "info: website":
- "/(website)/i" - "(website)"
# Games # Type
"game: Ark: Survival Evolved": "type: game server request":
- "/(Ark: Survival Evolved|Ark)/i" - "(Server Request)"
"game: ARMA 3": "type: bug":
- "/(ARMA 3)/i" - "(bug)"
"game: Assetto Corsa": "type: feature request":
- "/(Assetto Corsa)/i" - "(feature)"
"game: Avorion":
- "/(Avorion)/i"
"game: Ballistic Overkill":
- "/(Ballistic Overkill)/i"
"game: Barotrauma":
- "/(Barotrauma)/i"

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

Loading…
Cancel
Save