ci: fix release workflow - remove apk, add PR dry-run#5
Conversation
- Remove APK build step: alauda version format (0.0.19-alauda-1) contains hyphens which are invalid in Alpine pkgver, causing "package file format error" on index creation. - Create empty dist/apk dir so DistBinaries() ls doesn't fail. - Add pull_request trigger (scoped to release/dagger/go.mod paths) so the build pipeline can be validated in PR before merging. - Guard Publish Release with `if: github.event_name != 'pull_request'` to skip actual publishing during PR validation. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
916573b to
01c9e75
Compare
🤖 AI Code Review
SummaryThis PR fixes the release workflow failure due to Alpine package version constraints and adds a PR dry-run validation. The changes are minimal and correct: removing the failing APK build step, creating an empty Review Statistics
Critical Issues
None. This PR contains no critical issues. Warnings
None. This PR contains no warnings. Suggestions
Positive Feedback
ℹ️ About this reviewThis review was automatically generated using the
|
Signed-off-by: chengjingtao <chengjingtao>
Summary
Fix alauda release workflow failure and add PR-level validation.
Fixes
0.0.19-alauda-1contains hyphens, invalid for Alpinepkgver→package file format error. Create emptydist/apkdir instead soDistBinaries()doesn't fail onls apk.PR dry-run
pull_requesttrigger scoped to release-related paths (.github/workflows/release-alauda.yml,.dagger/**,go.mod)Publish Releasestep guarded withif: github.event_name != 'pull_request'— PR runs validatebuild → archive → nfpm → checksumwithout publishingTest plan
🤖 Generated with Claude Code