mirror of
https://github.com/itzg/docker-minecraft-server.git
synced 2026-02-19 07:46:23 +00:00
Co-authored-by: christopher blodgett <christopher.blodgett@gmail.com> Co-authored-by: Geoff Bourne <itzgeoff@gmail.com>
18 lines
478 B
YAML
18 lines
478 B
YAML
on:
|
|
issues:
|
|
types: [labeled]
|
|
|
|
env:
|
|
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}
|
|
|
|
jobs:
|
|
labelNotify:
|
|
runs-on: ubuntu-latest
|
|
timeout-minutes: 5
|
|
steps:
|
|
- name: notify
|
|
if: github.event.label.name == 'enhancement' || github.event.label.name == 'bug'
|
|
uses: Ilshidur/action-discord@master
|
|
with:
|
|
args: "[${{ github.event.issue.title }}](<${{ github.event.issue.html_url }}>) added `${{ github.event.label.name }}` label"
|