Skip to content

Commit b9add10

Browse files
author
Marcus Pousette
committed
fix: update workflow conditions for ensure-release job to handle workflow_run events
1 parent 22835e8 commit b9add10

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/prebuilt.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,13 @@ on:
88
tag:
99
description: "Release tag to upload assets to (e.g., v3.51.0-build1). Leave blank to use package.json"
1010
required: false
11+
workflow_run:
12+
workflows: ["create-release"]
13+
types: [completed]
1114

1215
jobs:
1316
ensure-release:
17+
if: ${{ github.event_name != 'workflow_run' || github.event.workflow_run.conclusion == 'success' }}
1418
runs-on: ubuntu-latest
1519
outputs:
1620
tag: ${{ steps.ver.outputs.tag }}

0 commit comments

Comments
 (0)