Skip to content

fix(ci): use existing preview publisher for Dependabot PRs - #159

Merged
vitormattos merged 1 commit into
mainfrom
fix/docs-preview-dependabot-routing-20261111
Nov 12, 2026
Merged

vitormattos merged 1 commit into
mainfrom
fix/docs-preview-dependabot-routing-20261111

Conversation

@vitormattos

Copy link
Copy Markdown
Member

Purpose

Replace conflicting Dependabot PR #136 and the overgrown preview refactor #157 with a minimal change based on the current main. Do not create another preview publisher or copy Pages polling/comment scripts.

Changes

  • Keep the existing LibreSign/pr-preview-action and scoped librecode-workflow-automation GitHub App unchanged.
  • Treat PRs authored by dependabot[bot] like fork PRs in the unprivileged Documentation PR Preview build: upload only static HTML, without requesting the GitHub App private key. This still applies when a maintainer pushes to the Dependabot branch.
  • Reuse the existing trusted Documentation Fork PR Preview Deploy workflow for dependabot/ branches as well as forks, preserving its artifact download, scoped token, preview publication, comment/QR code and existing route verification.
  • Update actions/create-github-app-token to the immutable commit for v3.3.0 in all three existing workflows. Existing app-id remains supported; no secret or App ID migration is attempted.

Evidence and limits

  • Previously, build(deps): bump actions/create-github-app-token from 2.2.2 to 3.3.0 #136's Dependabot-triggered preview passed Sphinx but failed at private-key input must be set to a non-empty string. Rerunning it as a maintainer did not change the original Dependabot event restrictions.
  • This commit was made with Git Signing MCP, with verified cryptographic signature and matching DCO.
  • Diff is limited to GitHub Actions conditions and the pinned dependency SHA; no new large shell block, no app code, no production deploy.
  • CI and live bot preview still need verification. GitHub workflow_run reads workflow definitions from the default branch, so the trusted publishing branch cannot be proven end-to-end until merged. A successful PR build alone is not evidence that the bot preview was published.
  • The trusted consumer intentionally keeps its existing contract requiring an associated PR number. Missing associations must fail closed; they are not manufactured from branch names.

Supersedes #136 and #157. Keep this PR open for independent review; no administrative review bypass or automatic merge.

Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
@github-actions

Copy link
Copy Markdown
Contributor
PR Preview Action v1.8.1-4-g2a6da11

QR code for preview link

🚀 View preview at
https://libresign.github.io/site-preview/docs-preview/pr-159/

Built to branch gh-pages at 2026-11-12 02:03 UTC.
Preview will be ready when the GitHub Pages deployment is complete.

Documentation: All versions · LibreSign 16 development manual · Review notes

Preview is separate from production. LibreSign 16 has not been released; the development manual describes the upcoming version.

@vitormattos
vitormattos merged commit d9a5675 into main Nov 12, 2026
3 checks passed
@vitormattos
vitormattos deleted the fix/docs-preview-dependabot-routing-20261111 branch November 12, 2026 04:39
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