Skip to content

Publishing and promoting #1

Publishing and promoting

Publishing and promoting #1

Workflow file for this run

name: Promote charm
on:
workflow_dispatch:
inputs:
origin-channel:
type: choice
description: 'Origin Channel'
options:
- latest/edge
destination-channel:
type: choice
description: 'Destination Channel'
options:
- latest/stable
secrets:
CHARMHUB_TOKEN:
required: true
pull_request:
inputs:
origin-channel:
type: choice
description: 'Origin Channel'
options:
- latest/edge
destination-channel:
type: choice
description: 'Destination Channel'
options:
- latest/stable
secrets:
CHARMHUB_TOKEN:
required: true
jobs:
promote-charm:
uses: canonical/operator-workflows/.github/workflows/promote_charm.yaml@test-netbox
with:
origin-channel: ${{ github.event.inputs.origin-channel }}
destination-channel: ${{ github.event.inputs.destination-channel }}
doc-automation-disabled: false
charm-working-directory: "./charm"
secrets: inherit

Check failure on line 44 in .github/workflows/promote_charm.yaml

View workflow run for this annotation

GitHub Actions / Promote charm

Invalid workflow file

The workflow is not valid. .github/workflows/promote_charm.yaml (Line: 44, Col: 1): Unexpected value 'secrets'