Choose which timestamp from the previous release defines the cutoff boundary (the "since" moment) for included issues, PRs, and commits. Provides control for teams that publish releases later than they create them.
- Input
published-at(boolean, defaultfalse). - When
published-at: true, the previous release’spublished_attimestamp is used. - When
false, the previous release’screated_attimestamp is used. - If no prior release exists (first release), all issues are fetched without a filtration.
- name: Generate Release Notes
id: release_notes_scrapper
uses: AbsaOSS/generate-release-notes@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
tag-name: "v1.6.0"
from-tag-name: "v1.5.0" # defines the previous release
published-at: true # use published_at instead of created_at
chapters: |
- {"title": "Features", "label": "feature"}
- {"title": "Fixes", "label": "bug"}### Features
- #360 _Add audit event sink_ developed by @dev in #365
#### Full Changelog
https://github.com/org/repo/compare/v1.5.0...v1.6.0(The included only records occurred after the chosen previous release timestamp.)
- Tag Range Selection – defines which releases bound the window.
- Service Chapters – uses same time window for diagnostics.
- Release Notes Extraction – only scans PRs within the window.