Skip to content

Commit 0c710ef

Browse files
committed
chore: add workflow condition for successful runs in publish.yml
1 parent 6b9a343 commit 0c710ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44

55
name: publish
66
on:
7-
push:
87
workflow_run:
98
workflows: [full]
109
types: [completed]
@@ -14,6 +13,7 @@ on:
1413
- "!deps/**"
1514
jobs:
1615
publish:
16+
if: ${{ github.event.workflow_run.conclusion == 'success' }}
1717
runs-on: ubuntu-22.04
1818
timeout-minutes: 5
1919
permissions:

0 commit comments

Comments
 (0)