Skip to content

workflows: add osdc-pr-validate dispatchable per-PR deploy validator#639

Open
jeanschmidt wants to merge 2 commits into
gh/jeanschmidt/36/basefrom
gh/jeanschmidt/36/head
Open

workflows: add osdc-pr-validate dispatchable per-PR deploy validator#639
jeanschmidt wants to merge 2 commits into
gh/jeanschmidt/36/basefrom
gh/jeanschmidt/36/head

Conversation

@jeanschmidt

@jeanschmidt jeanschmidt commented May 27, 2026

Copy link
Copy Markdown
Contributor

Stack from ghstack (oldest at bottom):

Impact: new GitHub Actions workflow
Risk: low

What

Introduces osdc-pr-validate.yml: a workflow_dispatch-triggered
workflow that deploys a PR head SHA to arc-staging via the reusable
_osdc-deploy.yml and reports the outcome back to the PR as an
osdc/pr-validate commit status.

Why

The Renovate auto-approve pipeline (and human operators) need a
generic, dispatchable way to validate that an arbitrary PR's code
actually deploys to staging before merging. A separate commit status
keeps it independent of the regular pre-merge gate.

How

  • workflow_dispatch accepts pr_number (resolves PR head SHA) and
    optional modules (forwarded to _osdc-deploy.yml).
  • Posts an osdc/pr-validate commit status: pending while running,
    success/failure on completion.
  • Reuses the _osdc-deploy.yml workflow's ref and modules inputs
    (added earlier in this stack).

Changes

  • .github/workflows/osdc-pr-validate.yml: new workflow.

Notes

This commit only adds the workflow definition; the autoapprover that
dispatches it lands later in the stack.

Testing

  • Manually dispatch with a known-good PR number once landed; confirm
    the commit status flips correctly.

Signed-off-by: Jean Schmidt contato@jschmidt.me

[ghstack-poisoned]
[ghstack-poisoned]
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.

1 participant