Skip to content

Commit e1649a6

Browse files
authored
Update build.yml and release.yml
Signed-off-by: Hudson Xing <77495133+harvenstar@users.noreply.github.com>
1 parent f2b7dfc commit e1649a6

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/release.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,11 @@ jobs:
4242
workflow: build.yml
4343
# Use the branch from the manual input instead of hardcoding 'main'.
4444
branch: ${{ github.event.inputs.source_branch }}
45+
46+
# Tell the action to look for artifacts created by a 'pull_request' event.
47+
event: pull_reques
48+
49+
4550
# We use a wildcard (*) because the artifact name from the build workflow
4651
# contains a dynamic commit SHA (e.g., vscode-reh-web-linux-x64-0.0.0-dev-...).
4752
name: npm-package
@@ -93,4 +98,4 @@ jobs:
9398
draft: false
9499
# Automatically generate release notes from commits since the last release.
95100
generate_release_notes: true
96-
101+

0 commit comments

Comments
 (0)