Skip to content

Conversation

@simonjbeaumont
Copy link
Contributor

@simonjbeaumont simonjbeaumont commented Dec 20, 2024

Motivation

The documentation check appends a snippet to the package manifest. When the pacakge manifest doesn't end with a proper newline and happens to end with a comment (as many might with the standard cross-repo comment-fenced package manifest block), it can fail.

Here's an example failed run: https://github.com/swift-server/swift-openapi-async-http-client/actions/runs/12427995650/job/34698796376?pr=44#step:5:219.

Modifications

Simply insert a newline before the snippet.

Result

No functional change, but more defensive against some package manifests.

@simonjbeaumont simonjbeaumont requested a review from a team as a code owner December 20, 2024 08:31
@FranzBusch FranzBusch merged commit d20a348 into swiftlang:main Dec 20, 2024
24 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.

4 participants