Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Enable publish-on-click from any branch #16

Merged
merged 1 commit into from
Aug 16, 2022

Conversation

ca-scribner
Copy link
Contributor

Allows the publish.yaml workflow_dispatch to be run using any branch in this repo. See this test repo for the updated action. You can run_workflow here with an optional github branch argument. To demonstrate that it worked, this branch another-branch, which has the file src/file-on-branch-only was promoted from the branch in this action run to latest/candidate, which can be confirmed through juju download ca-scribner-test-charm --channel latest/candidate

…h in this repo. See [this test repo](https://github.com/ca-scribner/test-charm/blob/main/.github/workflows/publish.yaml) for the updated action.  You can run_workflow [here](https://github.com/ca-scribner/test-charm/actions/workflows/publish.yaml) with an optional github branch argument.  To demonstrate that it worked, [this branch `another-branch`](https://github.com/ca-scribner/test-charm/tree/another-branch), which has the file `src/file-on-branch-only` was promoted from the branch in [this action run](https://github.com/ca-scribner/test-charm/actions/runs/2863188096) to `latest/candidate`, which can be confirmed through `juju download ca-scribner-test-charm --channel latest/candidate`
@ca-scribner ca-scribner requested a review from a team as a code owner August 16, 2022 18:58
@DomFleischmann DomFleischmann merged commit 5bb86af into master Aug 16, 2022
@DomFleischmann DomFleischmann deleted the add-publish-on-click-from-branch-test-script branch August 16, 2022 19:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants