Skip to content

Release note gets all issues #319

Open
@tetsuya28

Description

@tetsuya28

With datasources=issues and the following GItHub Actions workflow, a Release Note has all issues with no error.
Then, run the workflow again, the Release Note gets expected issues, that have closed between the last tag and the latest tag.

name: Release

on:
  push:
    tags:
      - "*"

jobs:
  note:
    name: Release
    runs-on: ubuntu-latest
    steps:
      - name: Checkout
        uses: actions/checkout@v3.5.3
        with:
          fetch-depth: 0

      - name: Use Node.js
        uses: actions/setup-node@v3.8.0

      - name: Install gren
        run: |
          npm install github-release-notes -g

      - name: Create a release
        env:
          GREN_GITHUB_TOKEN: '${{ secrets.GITHUB_TOKEN }}'
        run: |
          gren release \
            --override \
            --tags=${{ github.ref_name }}

.grenrc.yaml is here.

---
  dataSource: "issues"
  groupBy:
    "✨ Enhancement":
      - "enhancement"
    "🐛 Bug":
      - "bug"
  changelogFilename: "CHANGELOG.md"
  template:
    label: ""
  limit: 99

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy