Skip to content

Commit 505ad2b

Browse files
author
LittleCoinCoin
committed
fix(ci): Discord pre-release notification should happen when on dev
Pre-release only happen when on the `dev` branch, so the job is skipped under condition `if: github.event.release.target_commitish == 'main'` Hence, change `main` --> `dev`
1 parent 700f190 commit 505ad2b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/prerelease-discord-notification.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
jobs:
88
notify-discord:
99
runs-on: ubuntu-latest
10-
if: github.event.release.target_commitish == 'main'
10+
if: github.event.release.target_commitish == 'dev'
1111
steps:
1212
- name: Send Discord Pre-release Notification
1313
uses: sarisia/actions-status-discord@v1

0 commit comments

Comments
 (0)