fix(ci): skip nightly Discord notifications when no release is predicted (#770)
This commit is contained in:
@@ -165,7 +165,7 @@ jobs:
|
||||
|
||||
notify-discord:
|
||||
name: Notify Discord (Nightly)
|
||||
if: ${{ always() && needs.generate-notes.result == 'success' && needs.build-and-push.result == 'success' }}
|
||||
if: ${{ always() && needs.generate-notes.result == 'success' && needs.build-and-push.result == 'success' && needs.generate-notes.outputs.predicted_version != '' }}
|
||||
needs: [resolve_ref, build-and-push, generate-notes]
|
||||
permissions: {}
|
||||
uses: ./.github/workflows/notify-discord-release-notes.yml
|
||||
|
||||
Reference in New Issue
Block a user