Add news release actions#459
Draft
jezdez wants to merge 5 commits into
Draft
Conversation
for more information, see https://pre-commit.ci
This was referenced Jun 5, 2026
Contributor
|
Does it continue updating a release PR as PR's are merged into main? |
kenodegard
reviewed
Jun 9, 2026
Comment on lines
+3
to
+15
| Generate release notes from conda news fragments and open or update a release | ||
| PR. The action is intended to run from a trusted `workflow_run` event after the | ||
| test workflow succeeds on a protected release branch. | ||
|
|
||
| ```yaml | ||
| name: Prepare release notes | ||
|
|
||
| on: | ||
| workflow_run: | ||
| workflows: [Tests] | ||
| types: [completed] | ||
| branches: | ||
| - '[0-9]*.[0-9]*.x' |
Contributor
There was a problem hiding this comment.
@dholth yeah it looks like it's designed to continuously update the release PR anytime the test suite completes on the release branch
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.
Description
Adds conda-owned release-notes actions for the fragment-first news flow:
check-newsvalidates sectioned conda news snippets on pull requests without writing files and honors theno-newslabel.prepare-releaseruns only from a trustedworkflow_runrelease-branch push context, aggregates existing snippets intoCHANGELOG.md, deletes consumed snippets, and opens or updates a release-notes PR.news_commonso PR-time validation and release-time rendering use the same section rules.Refs conda/infrastructure#556
Related PRs:
Validation:
uv run --with ruff ruff check check-news prepare-release news_commonuv run --with pytest --with pytest-cov --with pytest-mock python -m pytest check-news prepare-releasetemplate-files/test_template_files.py.