mirror of
https://github.com/itzg/docker-minecraft-server.git
synced 2026-07-24 01:14:58 +00:00
Enhance workflow conditionals for forked repositories and notifications (#4179)
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
name: Issues notify
|
||||
|
||||
on:
|
||||
issues:
|
||||
types:
|
||||
- opened
|
||||
- labeled
|
||||
- unlabeled
|
||||
- closed
|
||||
pull_request_target:
|
||||
types:
|
||||
- closed
|
||||
- labeled
|
||||
jobs:
|
||||
notify:
|
||||
if: github.repository_owner == 'itzg'
|
||||
uses: itzg/github-workflows/.github/workflows/issues-notify-discord.yml@main
|
||||
with:
|
||||
triageLabel: 'status/needs triage'
|
||||
secrets:
|
||||
discordWebhook: "${{secrets.DISCORD_ISSUES_WEBHOOK}}"
|
||||
Reference in New Issue
Block a user