Promote charm to default track, standard risk levels. #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Promote charm to other tracks and channels | |
on: | |
workflow_dispatch: | |
inputs: | |
destination-channel: | |
description: 'Destination Channel, e.g. latest/candidate' | |
required: true | |
origin-channel: | |
description: 'Origin Channel, e.g. latest/edge' | |
required: true | |
jobs: | |
promote-charm: | |
name: Promote charm | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Release charm to channel | |
uses: canonical/charming-actions/[email protected] | |
with: | |
credentials: ${{ secrets.CHARMHUB_TOKEN }} | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
destination-channel: ${{ github.event.inputs.destination-channel }} | |
origin-channel: ${{ github.event.inputs.origin-channel }} |