Skip to content

Merge pull request #524 from canonical/chore/KF-6129/fix-ci-backport-… #249

Merge pull request #524 from canonical/chore/KF-6129/fix-ci-backport-…

Merge pull request #524 from canonical/chore/KF-6129/fix-ci-backport-… #249

Workflow file for this run

name: On Push
# 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 or track/**, as
# by convention these branches are the source for a corresponding
# charmhub edge channel.
on:
push:
branches:
- main
- track/**
jobs:
tests:
name: Run Tests
uses: ./.github/workflows/integrate.yaml
secrets: inherit
# publish runs in series with tests, and only publishes if tests passes
publish-charm:
name: Publish Charm
needs: tests
uses: ./.github/workflows/publish.yaml
secrets: inherit