Repository navigation
fix(ci): initialize trusted checkout before publishing fork previews - #181
Merged
Merged
Conversation
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
Contributor
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. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
Documentation Fork PR Preview Deployfails duringLibreSign/pr-preview-actionwhen processing successful Dependabot builds. The deploy action's nestedJamesIves/github-pages-deploy-actionrequires an initialized Git worktree, but the privilegedworkflow_runjob only downloaded the HTML artifact.Observed failures: PR #174 workflow and PR #175 workflow, both with
fatal: not in a git directory/ exit 128.Fix
persist-credentials: false). The existing repository-scoped GitHub App token remains the only deployment credential.Verification
actions/checkoutas mandatory.github.event.repository.default_branch, without persisted credentials.Remaining E2E verification: This PR itself uses the same-repository preview path; the
workflow_runpath must be validated with a subsequent real fork/Dependabot PR after integration. No merge is requested here.