Skip to content

Add BODY.md (containing the release's body text) to assets in a dry run#51

Merged
stertooy merged 3 commits intogap-actions:mainfrom
stertooy:body-text-in-archive
Mar 4, 2026
Merged

Add BODY.md (containing the release's body text) to assets in a dry run#51
stertooy merged 3 commits intogap-actions:mainfrom
stertooy:body-text-in-archive

Conversation

@stertooy
Copy link
Contributor

@stertooy stertooy commented Feb 11, 2026

I (and probably other package authors/maintainers as well) generate the release's body text automatically based on a changelog file in my package repository. But currently there's no way to check if this was done correctly while doing a dry run of this action.

So this PR remedies that by writing the body-text input to a file that is part of the workflow artifacts.

Copy link
Member

@limakzi limakzi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.
Valuable.

@stertooy
Copy link
Contributor Author

stertooy commented Mar 2, 2026

Made some changes that were only possible thanks to the v7 release of upload-artifact. I want to keep the .md file separate from the release assets, to not give the false impression that this file will also be added as a release asset on a non-dry run.

@stertooy stertooy merged commit 86cb456 into gap-actions:main Mar 4, 2026
3 checks passed
@stertooy stertooy deleted the body-text-in-archive branch March 4, 2026 23:22
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