Commit 699d3ee
ci: auto-trigger KMP publish on release; fix broken CI badge
The KMP artifact's tag->publish automation never fired. create_tag.yml
creates the release/tag with the default GITHUB_TOKEN, and GitHub
deliberately suppresses `push: tags` triggers for refs created by
GITHUB_TOKEN — so publish-kmp.yml only ever ran via manual
workflow_dispatch (v2.7.26 was published by hand).
Fix without adding a secret: create_tag.yml now explicitly dispatches
publish-kmp.yml after creating the release (workflow_dispatch is exempt
from the GITHUB_TOKEN trigger suppression), passing the new version.
Adds `actions: write` so `gh workflow run` can dispatch it. The existing
`push: tags` trigger on publish-kmp.yml is kept as a fallback for tags
pushed with a user/PAT credential.
Also fix the root README CI badge, which pointed at a nonexistent
ci.yml, to the actual pull_request.yml workflow.
Part of the Meshtastic KMP library standard alignment (P0: release
reliability + docs accuracy).
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>1 parent b73e5ad commit 699d3ee
2 files changed
Lines changed: 10 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
5 | 6 | | |
6 | 7 | | |
7 | 8 | | |
| |||
57 | 58 | | |
58 | 59 | | |
59 | 60 | | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
60 | 69 | | |
61 | 70 | | |
62 | 71 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
0 commit comments