mirror of
https://github.com/itzg/docker-minecraft-server.git
synced 2024-06-07 19:40:43 +00:00
parent
21602a79e7
commit
b0817f2a83
7
.github/workflows/issue-label.yml
vendored
7
.github/workflows/issue-label.yml
vendored
@ -3,7 +3,7 @@ on:
|
|||||||
types: [labeled]
|
types: [labeled]
|
||||||
|
|
||||||
env:
|
env:
|
||||||
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}
|
DISCORD_WEBHOOK: ${{ secrets.DISCORD_ISSUES_WEBHOOK }}
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
labelNotify:
|
labelNotify:
|
||||||
@ -11,7 +11,10 @@ jobs:
|
|||||||
timeout-minutes: 5
|
timeout-minutes: 5
|
||||||
steps:
|
steps:
|
||||||
- name: notify
|
- name: notify
|
||||||
if: github.event.label.name == 'enhancement' || github.event.label.name == 'bug'
|
if: >
|
||||||
|
github.event.label.name == 'enhancement'
|
||||||
|
|| github.event.label.name == 'bug'
|
||||||
|
|| github.event.label.name == 'help wanted'
|
||||||
uses: Ilshidur/action-discord@master
|
uses: Ilshidur/action-discord@master
|
||||||
with:
|
with:
|
||||||
args: "[${{ github.event.issue.title }}](<${{ github.event.issue.html_url }}>) added `${{ github.event.label.name }}` label"
|
args: "[${{ github.event.issue.title }}](<${{ github.event.issue.html_url }}>) added `${{ github.event.label.name }}` label"
|
||||||
|
Loading…
Reference in New Issue
Block a user