Skip to content

Commit 7ee6f04

Browse files
jacekradkonikosdouvlis
authored andcommitted
fix(repo): Trigger workflow dispatch after npm publish succeeds (#7684)
1 parent c678e6b commit 7ee6f04

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.changeset/young-rings-wear.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
---
2+
---

.github/workflows/release-canary.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,14 +49,15 @@ jobs:
4949
run: pnpm turbo build $TURBO_ARGS
5050

5151
- name: Canary release
52+
id: publish
5253
if: steps.version-packages.outputs.success == '1'
5354
run: pnpm release:canary
5455
env:
5556
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
5657
NPM_CONFIG_PROVENANCE: true
5758

5859
- name: Trigger workflows on related repos
59-
if: steps.version-packages.outputs.success == '1'
60+
if: steps.publish.outcome == 'success'
6061
uses: actions/github-script@v7
6162
with:
6263
result-encoding: string

0 commit comments

Comments
 (0)