Skip to content

Commit 601ef28

Browse files
hyperb1issclaude
andcommitted
fix(ci): add libasound2-dev to typecheck job, fix release→publish trigger
- typecheck job failed because python-rtmidi needs ALSA headers to build - GITHUB_TOKEN tag pushes don't trigger other workflows (GitHub limitation) - Add workflow_dispatch to publish.yml so release.yml can trigger it via gh workflow run, matching the pattern used by git-iris - Add prettier fmt-docs recipe to justfile Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 30a9463 commit 601ef28

2 files changed

Lines changed: 9 additions & 1 deletion

File tree

.github/workflows/publish.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,13 @@ name: Publish
33
on:
44
push:
55
tags: ["v*"]
6+
workflow_dispatch:
67

78
jobs:
89
pypi:
910
uses: hyperb1iss/shared-workflows/.github/workflows/python-publish.yml@v1
11+
with:
12+
checkout-ref: ${{ github.ref }}
1013
permissions:
1114
contents: read
1215
id-token: write

.github/workflows/release.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,12 @@ jobs:
108108
git push origin HEAD:${{ github.ref_name }}
109109
git push origin "v${{ steps.version.outputs.version }}"
110110
111-
# publish.yml triggers automatically on tag push
111+
- name: Trigger publish workflow
112+
if: ${{ !inputs.dry_run }}
113+
run: |
114+
gh workflow run publish.yml --ref "v${{ steps.version.outputs.version }}"
115+
env:
116+
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
112117

113118
- name: Summary
114119
run: |

0 commit comments

Comments
 (0)