Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 11 additions & 6 deletions .github/workflows/changelog-preview.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
name: Changelog Preview

# Renders the CHANGELOG.md section the next release would generate from this
# PR's .nextchanges/ fragments into this check's job summary, so reviewers see
# the rendered changelog without cutting a release. Fails the check if a
# fragment is misplaced (so it can't be silently skipped by the renderer).
# Renders the CHANGELOG.md section the next release would generate from the
# .nextchanges/ fragments into this check's job summary, so reviewers see the
# rendered changelog without cutting a release. Fails the check if a fragment
# is misplaced (so it can't be silently skipped by the renderer).
#
# Uses `pull_request` with a read-only token: it renders the PR's own
# .nextchanges/ content and never needs write credentials.
# Runs on pull requests (rendering the PR's own .nextchanges/ content) and on
# pushes to main (so anyone can view the preview for any commit on main). Uses
# a read-only token: it only reads .nextchanges/ and never needs write
# credentials.
on:
pull_request:
types: [opened, reopened, synchronize]
Expand All @@ -15,6 +17,9 @@ on:
- "internal/genkit/**"
- "tools/validate_nextchanges.py"
- "tools/update_github_links.py"
push:
branches:
- main

permissions:
contents: read
Expand Down
Loading