Skip to content

Commit b9478a3

Browse files
ci: fix discord notification problem (#20404)
1 parent 6008840 commit b9478a3

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.github/workflows/release-announcement.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ name: Release Announcement
33
on:
44
release:
55
types: [published]
6+
workflow_call:
67

78
jobs:
89
github-releases-to-discord:

.github/workflows/release.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,3 +38,8 @@ jobs:
3838
env:
3939
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4040
NPM_TOKEN: "" # https://github.com/changesets/changesets/issues/1152#issuecomment-3190884868
41+
42+
trigger-logic:
43+
needs: release
44+
uses: ./.github/workflows/release-announcement.yml
45+
secrets: inherit

0 commit comments

Comments
 (0)