Skip to content

Latest commit

 

History

History
44 lines (36 loc) · 1.61 KB

File metadata and controls

44 lines (36 loc) · 1.61 KB

Feature: Date Selection

Purpose

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.

How It Works

  • Input published-at (boolean, default false).
  • When published-at: true, the previous release’s published_at timestamp is used.
  • When false, the previous release’s created_at timestamp is used.
  • If no prior release exists (first release), all issues are fetched without a filtration.

Configuration

- 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"}

Example Result

### 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.)

Related Features

Back to Feature Tutorials