💬 Proposal: Simplify Release Workflow #229
DevTwilight
started this conversation in
Ideas
Replies: 1 comment 1 reply
-
|
Swapping a dependency (release action) with another (gh), even if one is considered official, does not reduce the risk of supply chain attacks by much as both are ultimately programs that could run malicious code and the widely used gh program could also get targeted. I'm generally in favor of reducing dependencies all around and notably in CI, so if we could replace all actions with a single program I'd be interested. Alternatively, pinning package versions to known sane version and not touching them is fine by me. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I propose simplifying release pipeline by:
merge-multiplesoftprops/action-gh-releasewithgh cliThis keeps the workflow simpler, more explicit, and more maintainable.
🔧 Current Behavior
Artifact structure (current)
Without merge-multiple, downloaded artifacts are extracted into separate directories:
This requires recursive globbing:
artifacts/**/*.zipRelease creation
We currently use:
softprops/action-gh-release@v2which abstracts release creation and asset upload behind a third-party action.
🚀 Proposed Changes
1. Flatten artifact structure
Result
This allows simpler asset handling:
artifacts/*.zip2. Replace softprops/action-gh-release with GitHub CLI
Replace:
with
📊 Benefits
✔ Simpler artifact handling
✔ More explicit release logic
✔ Reduced dependency on third-party actions
✔ Easier extensibility
Future enhancements become easier:
✅ Conclusion
This proposal simplifies the release stage by flattening downloaded artifacts and using the official GitHub CLI for release management while keeping the overall workflow structure unchanged.
If this approach is considered acceptable, I would be happy to contribute the implementation.
Beta Was this translation helpful? Give feedback.
All reactions