From fa772ca69fb0e1fcb6ecdbddbe3ebdd603843a00 Mon Sep 17 00:00:00 2001 From: arturo-seijas <102022572+arturo-seijas@users.noreply.github.com> Date: Fri, 12 Jul 2024 10:41:51 +0200 Subject: [PATCH] Add workflows for tracks support (#231) --- .github/workflows/comment_contributing.yaml | 13 +++++++++++++ .github/workflows/publish_charm.yaml | 5 ++--- 2 files changed, 15 insertions(+), 3 deletions(-) create mode 100644 .github/workflows/comment_contributing.yaml diff --git a/.github/workflows/comment_contributing.yaml b/.github/workflows/comment_contributing.yaml new file mode 100644 index 00000000..c51f8731 --- /dev/null +++ b/.github/workflows/comment_contributing.yaml @@ -0,0 +1,13 @@ +name: Comment on the pull request + +on: + pull_request: + types: + - opened + branches: + - 'track/**' + +jobs: + comment-on-pr: + uses: canonical/operator-workflows/.github/workflows/comment_contributing.yaml@main + secrets: inherit diff --git a/.github/workflows/publish_charm.yaml b/.github/workflows/publish_charm.yaml index c6e1c3d4..a84cba1f 100644 --- a/.github/workflows/publish_charm.yaml +++ b/.github/workflows/publish_charm.yaml @@ -4,10 +4,9 @@ on: push: branches: - main + - track/* jobs: - test-and-publish-charm: + publish-to-edge: uses: canonical/operator-workflows/.github/workflows/publish_charm.yaml@main secrets: inherit - with: - channel: latest/edge