Skip to content

ci: workflow_dispatch escape hatches + explicit WASMCLOUD_DOCS_BOT_PAT preflight#1215

Merged
ericgregory merged 2 commits into
wasmCloud:mainfrom
ericgregory:ci/fix-docs-version-pipeline
Jul 8, 2026
Merged

ci: workflow_dispatch escape hatches + explicit WASMCLOUD_DOCS_BOT_PAT preflight#1215
ericgregory merged 2 commits into
wasmCloud:mainfrom
ericgregory:ci/fix-docs-version-pipeline

Conversation

@ericgregory

@ericgregory ericgregory commented Jul 6, 2026

Copy link
Copy Markdown
Contributor

Updates with a pre-flight check for PAT to surface errors more clearly

…flight

Three related fixes for the docs version-bump / offline-docs pipeline that's
been failing on every release since early June:

- update-version.yml: preflight check that fails with an actionable error
  when secrets.WASMCLOUD_BOT_PAT is empty (the actual failure mode across
  every recent run), instead of dying silently at actions/checkout.

- tag-after-merge.yml: add workflow_dispatch input so a maintainer can push
  a docs-v tag from main without going through the PR-merge flow. Same PAT
  preflight. Still requires the PAT because the tag push must trigger
  release-docs.yml, which the default GITHUB_TOKEN can't do.

- release-docs.yml: add workflow_dispatch input as the no-PAT escape hatch.
  When PAT-dependent workflows above can't run, dispatching release-docs.yml
  directly publishes the GitHub Release + tarball + ghcr.io/wasmcloud/docs
  image using GITHUB_TOKEN alone. Pin tag_name on the Release step so
  dispatched runs create the release against docs-v<version> rather than
  the main ref they're dispatched from.

Offline docs image (ghcr.io/wasmcloud/docs) has been stuck at 2.2.0 since
2026-06-08 as a downstream consequence — dispatching release-docs.yml with
version=2.5.1 unsticks it independent of the PAT rotation.

Signed-off-by: Eric Gregory <eric@cosmonic.com>
@ericgregory ericgregory requested a review from a team as a code owner July 6, 2026 21:04
@netlify

netlify Bot commented Jul 6, 2026

Copy link
Copy Markdown

Deploy Preview for dreamy-golick-5f201e ready!

Name Link
🔨 Latest commit 6627a2d
🔍 Latest deploy log https://app.netlify.com/projects/dreamy-golick-5f201e/deploys/6a4c1c667c7296000828b1e0
😎 Deploy Preview https://deploy-preview-1215--dreamy-golick-5f201e.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Distinct name from the WASMCLOUD_BOT_PAT on wasmCloud/wasmCloud, so the two
tokens can diverge in scope, lifetime, or owning account without confusion.

Signed-off-by: Eric Gregory <eric@cosmonic.com>
@ericgregory ericgregory changed the title ci: workflow_dispatch escape hatches + explicit WASMCLOUD_BOT_PAT preflight ci: workflow_dispatch escape hatches + explicit WASMCLOUD_DOCS_BOT_PAT preflight Jul 6, 2026
@ericgregory ericgregory merged commit bfdf844 into wasmCloud:main Jul 8, 2026
8 checks passed
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