Skip to content

Commit f974a5c

Browse files
committed
feat: conditionalize package check based on event type
1 parent 491b860 commit f974a5c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/check-and-upload-package.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ on:
1313
jobs:
1414
check-package:
1515
runs-on: ubuntu-22.04
16+
if: ${{ github.event_name == 'workflow_dispatch' || github.event.pull_request.merged }}
1617
outputs:
1718
file-present: ${{ steps.check-file.outputs.file-present }}
1819
closest-release: ${{ steps.find-release.outputs.closest-release }}

0 commit comments

Comments
 (0)