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

Automatically trigger the release workflow on merge of the "Prepare release" PR #96

Open
edmorley opened this issue Aug 1, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@edmorley
Copy link
Member

edmorley commented Aug 1, 2023

Currently the steps to perform a CNB release are:

  1. Trigger the "Prepare release" workflow, and wait for it to open the "Prepare release PR"
  2. Leave a review approval on the CNB release PR (the PR will then auto-merge)
  3. Trigger a "Release buildpack" workflow targetting main, and wait for it to perform the release and eventually open the builder repo PR
  4. Leave a review approval on the builder update PR (the PR will then auto-merge)

As a future optimisation, it seems we could skip step (3) by having the workflow auto-trigger when the "Prepare release" PR is merged.

The SF CLI has a workflow that does something similar:
https://github.com/salesforcecli/cli/blob/8aa0ab825cc4e7367690c0baa6011ee6134dc6b7/.github/workflows/create-github-release.yml#L4-L17

GUS-W-13871118.

@edmorley edmorley added the enhancement New feature or request label Aug 1, 2023
@edmorley edmorley changed the title Automatically trigger the CNB release workflow when the "Prepare release" PR is merged Automatically trigger the release workflow on merge of the "Prepare release" PR Aug 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant