canonical / charming-actions

A collection of Github Actions for interaction with Charmhub, and validating Charmed Operator code
9 stars 22 forks source link

make github tag in upload-charm optional #137

Closed lucabello closed 4 months ago

lucabello commented 4 months ago

Issue

The upload-charm action cannot be used to upload temporary Charmhub releases (e.g., publish a charm to latest/edge/temp-123), because it automatically creates a GitHub tag (and release) whenever it's called; this obviously doesn't suit temporary releases.

Solution

Make the GitHub tagging process optional, by adding an extra (optional) input to the action.

(p.s. the unrelated edits are from the pre-commit hook running prettier)