diff --git a/.github/workflows/publish_charm.yaml b/.github/workflows/publish_charm.yaml index c4d2bc4..e14e332 100644 --- a/.github/workflows/publish_charm.yaml +++ b/.github/workflows/publish_charm.yaml @@ -1,20 +1,14 @@ name: Publish to edge -# On push to a "special" branch, we: -# * always publish to charmhub at latest/edge/branchname -# * always run tests -# where a "special" branch is one of main/master or track/**, as -# by convention these branches are the source for a corresponding -# charmhub edge channel. - on: workflow_dispatch: push: branches: - main - - track/** jobs: publish-to-edge: uses: canonical/operator-workflows/.github/workflows/publish_charm.yaml@main secrets: inherit + with: + channel: latest/edge