Skip to content

Commit 965d624

Browse files
sserrataclaude
andcommitted
ci: add workflow_dispatch trigger for ad hoc canary releases
Allows manually triggering a canary publish from the GitHub Actions UI without needing to push a package change. Manual runs bypass the packages-changed check and always publish. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent a745ae2 commit 965d624

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/release.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ on:
55
branches:
66
- main
77
- v2.0.0
8+
workflow_dispatch:
89

910
env:
1011
FORCE_COLOR: true
@@ -46,7 +47,7 @@ jobs:
4647
- name: Check if packages changed
4748
id: packages_changed
4849
run: |
49-
if git diff --name-only HEAD~1 HEAD | grep -q "^packages/"; then
50+
if [[ "${{ github.event_name }}" == "workflow_dispatch" ]] || git diff --name-only HEAD~1 HEAD | grep -q "^packages/"; then
5051
echo "changed=true" >> $GITHUB_OUTPUT
5152
else
5253
echo "changed=false" >> $GITHUB_OUTPUT

0 commit comments

Comments
 (0)