Skip to content

[WIP] Add workflow_dispatch support to image CI workflows#408

Closed
Copilot wants to merge 1 commit into
mainfrom
copilot/add-workflow-dispatch-support-again
Closed

[WIP] Add workflow_dispatch support to image CI workflows#408
Copilot wants to merge 1 commit into
mainfrom
copilot/add-workflow-dispatch-support-again

Conversation

Copilot AI commented Mar 31, 2026

Copy link
Copy Markdown
Contributor

Thanks for asking me to work on this. I will get started on it and keep this PR's description up to date as I form a plan and make progress.


This section details on the original issue you should resolve

<issue_title>Add workflow_dispatch support to image ci workflows</issue_title>
<issue_description>We want the ability to trigger the ci workflow for each image via the workflow_dispatch trigger.

This will allow us to use a GitHub App and trigger with gh workflow run with the --repo flag.</issue_description>

Comments on the Issue (you are @copilot in this section)

@bschwedler High-level diagram of an end state
flowchart LR
    workbench --> images-workbench --> helm
    connect --> images-connect --> helm
    package-manager --> images-package-manager --> helm
Loading

We can also trigger additional downstream workflows where it makes sense</comment_new>
<comment_new>@bschwedler

Prerequisites

Per-product work

Connect

Image repo (posit-dev/images-connect):

  • Add workflow_dispatch trigger to development.yml and production.yml
  • After a successful production build, dispatch a workflow in posit-dev/helm with the product name, version, and image tag

Product repo (posit-dev/connect):

  • Add a step to tools/release/publish_release.py calling run_github_actions_workflow() to dispatch release.yml in posit-dev/images-connect. The function already exists in release_common.py and is used for 3 other dispatch calls (docs, sbom, escrow).

Workbench

Image repo (posit-dev/images-workbench):

  • Add workflow_dispatch trigger to development.yml, production.yml, and session.yml
  • After a successful production build, dispatch a workflow in posit-dev/helm with the product name, version, and image tag

Product repo (rstudio/rstudio-pro):

Package Manager

Image repo (posit-dev/images-package-manager):

  • Add workflow_dispatch trigger to development-builds.yml and production-builds.yml
  • After a successful production build, dispatch a workflow in posit-dev/helm with the product name, version, and image tag

Product repo (rstudio/package-manager):

  • Add a dispatch step to .github/workflows/ci.yml in the publish job, after S3 upload and CloudFront cache invalidation, conditional on tag push. No cross-repo automation exists today so this is net-new.

Helm (posit-dev/helm)

  • Add a workflow_dispatch workflow that accepts product name, version, and image tag as inputs
  • The workflow updates Chart.yaml appVersion, bumps the chart patch version, and creates a PR
  • Helm repo owns its own update logic — image repos just dispatch with version info

Decisions

  • GitHub App for cross-repo dispatch (not PATs). Extends existing App infrastructure.
  • Direct dispatch from product repos to image repos. No centralized routing layer.
  • Helm update logic lives in the Helm repo. Image repos dispatch a workflow in posit-dev/helm after successful production builds. Helm repo owns how its charts are updated.
  • No auto-merge for Helm PRs until Helm workflows are cleaned up.
  • Keep schedules as fallbacks (weekly prod, daily dev) but primary trigger becomes event-driven.</comment_new>

Copilot AI linked an issue Mar 31, 2026 that may be closed by this pull request
@bschwedler bschwedler closed this Mar 31, 2026
Copilot stopped work on behalf of bschwedler due to an error March 31, 2026 16:15
Copilot AI requested a review from bschwedler March 31, 2026 16:15
@bschwedler

Copy link
Copy Markdown
Contributor

This was inadvertently created.

@bschwedler bschwedler deleted the copilot/add-workflow-dispatch-support-again branch March 31, 2026 16:15
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