mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
Skip discord notification in forks
This commit is contained in:
parent
4bbe28838d
commit
bd7f7615b0
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
@ -49,7 +49,7 @@ jobs:
|
||||
include_image: true
|
||||
avatar_url: https://github.githubassets.com/images/modules/logos_page/GitHub-Mark.png
|
||||
username: GitHub Build Notifier
|
||||
if: startsWith(github.ref_name, 'test')
|
||||
if: github.repository == 'dcs-retribution/dcs-retribution' && startsWith(github.ref_name, 'test')
|
||||
|
||||
- name: Send status to Discord
|
||||
uses: stegzilla/discord-notify@v2
|
||||
@ -60,4 +60,4 @@ jobs:
|
||||
include_image: true
|
||||
avatar_url: https://github.githubassets.com/images/modules/logos_page/GitHub-Mark.png
|
||||
username: GitHub Build Notifier
|
||||
if: github.ref_name == 'dev'
|
||||
if: github.repository == 'dcs-retribution/dcs-retribution' && github.ref_name == 'dev'
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user