Skip to content

Reject invalid user guide PDF downloads - #18

Draft
magrathean-uk wants to merge 1 commit into
rustic-rs:mainfrom
magrathean-uk:fix/1893-validate-pdf-download
Draft

magrathean-uk wants to merge 1 commit into
rustic-rs:mainfrom
magrathean-uk:fix/1893-validate-pdf-download

Conversation

@magrathean-uk

Copy link
Copy Markdown

The release artifact step currently accepts an HTML error page as rustic-user-docs.pdf. Make the download fail on HTTP errors and reject a payload without the PDF signature before packaging it.

Related issue: rustic-rs/rustic#1893
Depends on rustic-rs/docs#147, which restores the PDF at the published URL. This PR is a draft while the live URL returns 404.

Validation: action.yml parsed with PyYAML, the download and signature guard were checked in the workflow, and git diff --check passed. A full release workflow cannot succeed until the docs change is deployed.

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